Mandrake 10.1 install

Trouble during PacsOne Server installations
Post Reply
antw1_lnx
Mandrake 10.1 install

Post by antw1_lnx » Sun May 15, 2005 4:14 pm

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 ?

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Mon May 16, 2005 2:08 am

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.

antw1_lnx

Post by antw1_lnx » Tue May 17, 2005 1:11 am

I manually added /usr/local/lib/ to the /etc/ld.so.conf file.
But doing ldd Setup.exe still returns
libmysqlpp.so.1 => not found...

Any other idea ?

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Tue May 17, 2005 3:45 am

antw1_lnx wrote:I manually added /usr/local/lib/ to the /etc/ld.so.conf file.
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.

Guest

Post by Guest » Tue May 17, 2005 1:13 pm

That did it ! I didn't run ldconfig after modifying /etc/ld.so.conf ...

Post Reply