Re: error installing 6.0.0 RPMs

Bruce Guenter <[email protected]> Mon, 16 Jul 2007 12:43:37 -0600
Newsgroups gmane.mail.ezmlm
Message-ID <[email protected]>
On Mon, Jul 16, 2007 at 02:23:37PM -0400, Jeff Potter wrote:
> I compiled the rpms from the source rpms,

Thanks, I was going to ask you to try that.

> and installed those to see  
> if it would fix the problem. No good. Here's the result of an 'ldd - 
> r' -- not being super-well-versed in this stuff, maybe someone here  
> would have some insight?
> 
> ldd -r /usr/lib/ezmlm/sub-sql.so
>         libnsl.so.1 => /lib/libnsl.so.1 (0x004e8000)
>         libm.so.6 => /lib/tls/libm.so.6 (0x00406000)
>         libc.so.6 => /lib/tls/libc.so.6 (0x00d75000)
>         /lib/ld-linux.so.2 (0x002de000)

My development version shows a link to libmysqlclient.so.15 here (as
well as a few other libraries that libmysqlclient brings in).

> undefined symbol: USAGE (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: FATAL (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: dlerror       (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: mysql_fetch_row       (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: mysql_affected_rows   (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: mysql_init    (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: mysql_escape_string   (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: mysql_close   (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: dlopen        (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: mysql_errno   (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: dlsym (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: mysql_real_query      (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: mysql_error   (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: mysql_free_result     (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: mysql_use_result      (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: mysql_eof     (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: mysql_query   (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: mysql_real_connect    (/usr/lib/ezmlm/sub-sql.so)
> undefined symbol: mysql_fetch_lengths   (/usr/lib/ezmlm/sub-sql.so)

Also, the only undefined symbols are USAGE and FATAL.  All the rest
listed here should exist in standard system libraries.

> gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)

I happen to have gcc 3.4.6 also installed on my system, but produced the
same results as version 4.1.2.  I don't know what more to suggest.

Could you post a transcript of the build log somewhere?
-- 
Bruce Guenter <[email protected]>                http://untroubled.org/
	I do custom software development.  Email me for details.
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGm7xY6W+y3GmZgOgRAijeAJ9QkNOhHHAyNoodhk5kqyx2akdT7QCfVS9n
VhOSghl/Pz02PHkVtuJERDc=
=cEYl
-----END PGP SIGNATURE-----