RHEL3 to RHEL4 mysql++ error
Posted by: Mark Summers
Date: July 01, 2005 01:45PM

I have a Mysql++ application that I built on RHEL3 and when I tried to run it on RHEL4 -- I got the message
error while loading shared libraries: libstdc++.so.5: cannot open shared object file.
So I copied it to /usr/lib/ and linked it accordingly and got passed that

Now I get
symbol lookup error: /usr/local/lib/libmysqlpp.so.4: undefined symbol: _
ZNSs4_Rep20_S_empty_rep_storageE

This is the output from ldd
libmysqlpp.so.4 => /usr/local/lib/libmysqlpp.so.4 (0x007dc000)
libmysqlclient.so.14 => /usr/lib/libmysqlclient.so.14 (0x004c6000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00626000)
libm.so.6 => /lib/tls/libm.so.6 (0x00456000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x006e7000)
libc.so.6 => /lib/tls/libc.so.6 (0x00325000)
libz.so.1 => /usr/lib/libz.so.1 (0x00111000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00208000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00121000)
/lib/ld-linux.so.2 (0x0030c000)

Thanks Mark

Options: ReplyQuote


Subject
Views
Written By
Posted
RHEL3 to RHEL4 mysql++ error
981
July 01, 2005 01:45PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.