On Friday 07 February 2003 05:13 am, Laurentiu Drob wrote:

> ---------------------------------------
>
> [root@lwd ulogd-0.98.bering]# ldd ulogd
>           libdl.so.0 => /usr/i386-linux-uclibc/lib/libdl.so.0
>           libc.so.0 => /usr/i386-linux-uclibc/lib/libc.so.0
>           /usr/i386-linux-uclibc/lib/ld-uClibc.so.0 =>
> /usr/i386-linux-uclibc/lib/ld-uClibc.so.0
>
> ---------------------------------------
>
> Compilation output:
>
> [root@ ulogd-0.98.bering]# ./ulogd.mk


>
> ./ulogd: symbol 'mysql_real_escape_string': can't resolve symbol 'D''
>
> ./ulogd: symbol 'mysql_connect': can't resolve symbol 'H''
>
> ./ulogd: symbol 'mysql_list_fields': can't resolve symbol 'X''
>
> ./ulogd: symbol 'mysql_select_db': can't resolve symbol '\''
>
> ./ulogd: symbol 'mysql_real_query': can't resolve symbol 'l''
>
> ./ulogd: symbol 'mysql_error': can't resolve symbol 'p''
>
> ./ulogd: symbol 'mysql_fetch_field': can't resolve symbol '|''
>
> ./ulogd: symbol 'mysql_free_result': can't resolve symbol '''
> Fri Feb  7 11:01:49 2003 <7> ulogd.c:449 load_plugins:
> /usr/lib/ulogd/ulogd_MYSQL.so - Unable to resolve symbol
>
> [1]+  Segmentation fault      ./ulogd -d
>
> ---------------------------------------

> I think it's a mismatch library usage, I mean ulogd and extensions are
> compiled against uClibc but mysql and pgsql libraries are compiled
> against glibc.


OK, I didn't realize you were compiling this yourself.... I thought you were
using an available binary. Whatever you compile must have the same 
libraries that you compiled against on the box running the program.
If they are compiled against glibc, you'll have to load the same glibc
to run it.

I hope this helps,
-- 
~Lynn Avants
Linux Embedded Firewall Project developer
http://leaf.sourceforge.net


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to