Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159924 - net-mail/vpopmail-5.4.16 doesn't look for libraries in /usr/lib64 on 64bit
Summary: net-mail/vpopmail-5.4.16 doesn't look for libraries in /usr/lib64 on 64bit
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-03 23:15 UTC by Keith Gable
Modified: 2007-01-04 05:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Gable 2007-01-03 23:15:39 UTC
vpopmail cannot find libmysqlclient.so.15. It's not looking in the right place, because this file works, and all of my other mysql-linking apps work fine. I assume that at some point it points at /usr/lib32 or something rather than the correct location.

prometheus ~ # ls -la /usr
total 108
drwxr-xr-x  15 root    root     4096 Feb  7  2006 .
drwxr-xr-x  23 root    root     4096 Jan  4 00:00 ..
drwxr-xr-x   2 root    root    24576 Jan  4 00:01 bin
drwxr-xr-x   3 root    root     4096 Nov 14 22:39 doc
drwxr-xr-x   3      36 root     4096 Dec 14 03:59 games
drwxr-xr-x  99 root    root     8192 Jan  3 20:43 include
lrwxrwxrwx   1 root    root        5 Nov 13 20:22 lib -> lib64
drwxr-xr-x   4 root    root     4096 Dec 30 19:58 lib32
drwxr-xr-x  40 root    root    28672 Jan  3 23:15 lib64
drwxr-xr-x   3 root    root     4096 Dec 30 10:30 libexec
drwxr-xr-x   9 root    root     4096 Feb  7  2006 local
drwxr-xr-x 158 portage portage  4096 Jan  3 19:04 portage
drwxr-xr-x   2 root    root     4096 Jan  3 23:15 sbin
drwxr-xr-x  98 root    root     4096 Jan  3 21:04 share
drwxr-xr-x   4 root    root     4096 Jan  3 21:54 src
lrwxrwxrwx   1 root    root        8 Dec 29 18:41 tmp -> /var/tmp
drwxr-xr-x   6 root    root     4096 Feb  7  2006 x86_64-pc-linux-gnu


prometheus ~ # emerge --info
Portage 2.1.1-r2 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.3.6-r5, 2.6.18-hardened x86_64)
=================================================================
System uname: 2.6.18-hardened x86_64 Dual Core AMD Opteron(tm) Processor 275
Gentoo Base System version 1.12.6
Last Sync: Thu, 04 Jan 2007 02:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/zugaina"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amd64 apache2 bash-completion berkdb bzip2 chroot crypt dlloader doc elibc_glibc examples expat gnutls guile hardened imap input_devices_keyboard input_devices_mouse ipv6 ithreads jbig jce jpeg jpeg2k justify kernel_linux ldap lua maildir mailwrapper mpeg multilib mysql ncurses nls nptl pam perl php pic png python readline ruby sse sse2 ssl tcl tcltk tcpd threads tiff tk truetype userland_GNU userlocales xml xorg xpm zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-04 00:47:30 UTC
When it cannot find libmysqlclient.so.15? When you run something? Or at compile? Can you post some errors, or strace or whatever?
Comment 2 Keith Gable 2007-01-04 05:04:57 UTC
prometheus ~ # vadddomain --help
vadddomain: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory

Something that I'm finding that's odd though is that ls /usr/lib/libmysqlclient.so.15 returns:

ls: cannot access /usr/lib/libmysqlclient.so.15: No such file or directory

But it's obviously there:
prometheus ~ # ls -la /usr/lib/*mysql*
total 28852
drwxr-xr-x  2 root root     4096 Jan  3 19:39 .
drwxr-xr-x 40 root root    28672 Jan  3 23:15 ..
-rw-r--r--  1 root root    24542 Jan  3 19:39 libdbug.a
-rw-r--r--  1 root root    84244 Jan  3 19:39 libheap.a
-rw-r--r--  1 root root   518370 Jan  3 19:39 libmyisam.a
-rw-r--r--  1 root root    50378 Jan  3 19:39 libmyisammrg.a
-rw-r--r--  1 root root  2010270 Jan  3 19:39 libmysqlclient.a
-rwxr-xr-x  1 root root      897 Jan  3 19:39 libmysqlclient.la
lrwxrwxrwx  1 root root       24 Jan  3 19:39 libmysqlclient.so -> libmysqlclient.so.15.0.0
lrwxrwxrwx  1 root root       24 Jan  3 19:39 libmysqlclient.so.15 -> libmysqlclient.so.15.0.0
-rwxr-xr-x  1 root root  1565296 Jan  3 19:39 libmysqlclient.so.15.0.0
-rw-r--r--  1 root root  2026344 Jan  3 19:39 libmysqlclient_r.a
-rwxr-xr-x  1 root root      921 Jan  3 19:39 libmysqlclient_r.la
lrwxrwxrwx  1 root root       26 Jan  3 19:39 libmysqlclient_r.so -> libmysqlclient_r.so.15.0.0
lrwxrwxrwx  1 root root       26 Jan  3 19:39 libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
-rwxr-xr-x  1 root root  1573360 Jan  3 19:39 libmysqlclient_r.so.15.0.0
-rw-r--r--  1 root root 16000756 Jan  3 19:39 libmysqld.a
-rw-r--r--  1 root root  1533240 Jan  3 19:39 libmystrings.a
-rw-r--r--  1 root root   520554 Jan  3 19:39 libmysys.a
-rw-r--r--  1 root root  2307260 Jan  3 19:39 libndbclient.a
-rwxr-xr-x  1 root root     1196 Jan  3 19:39 libndbclient.la
lrwxrwxrwx  1 root root       21 Jan  3 19:39 libndbclient.so -> libndbclient.so.0.0.0
lrwxrwxrwx  1 root root       21 Jan  3 19:39 libndbclient.so.0 -> libndbclient.so.0.0.0
-rwxr-xr-x  1 root root  1162920 Jan  3 19:39 libndbclient.so.0.0.0
-rw-r--r--  1 root root    27270 Jan  3 19:39 libvio.a


After looking harder, it's actually in /usr/lib/mysql/. Any particular reason for this? Like I said, all MySQL clients I have work...