I get the following error msg after running PacsOne install.sh on my Mandrake 10.1 w/ MySQL 4.1.5:
/home/pacsone/Setup.exe: error while loading shared libraries: libmysqlpp.so.1: cannot open shared object file: No such file or directory
When I do locate libmysqlpp.so.1, it returns:
/home/pacsone/mysql/.libs/libmysqlpp.so.1.0.0
/usr/local/lib/libmysqlpp.so.1.0.0
/usr/local/lib/libmysqlpp.so.1
Is setup.exe expecting to find libmysqlpp.so.1 some place else ?
Mandrake 10.1 install
This means that ldconfig was not adding /usr/local/lib/ to the search path for shared libraries.
Run:
ldd Setup.exe
to see if ldd can find all the required shared libraries. If not, it means that your ldconfig was not updating the ld cache and you may have to add /usr/local/lib/ manually to the /etc/ld.so.conf file to force the ld cache to recognize the new path.
Run:
ldd Setup.exe
to see if ldd can find all the required shared libraries. If not, it means that your ldconfig was not updating the ld cache and you may have to add /usr/local/lib/ manually to the /etc/ld.so.conf file to force the ld cache to recognize the new path.
Have you run ldconfig after modifying the /etc/ld.so.conf above? I think there's a command line option to show the current search path list in ldconfig, try man ldconfig and see what the option is to display the current list of search paths. The bottom line is: /usr/local/lib/ has t show up on that list in order for ld to find the missing library there.antw1_lnx wrote:I manually added /usr/local/lib/ to the /etc/ld.so.conf file.