Firstly - thank's to all who tried to help with my earlier problems :-)  but - the same problem arises after installing a fresh copy of Redhat 7...

I'm sure my problem arises because of the directory I specify for MySQL to be installed - which I install with: ./configure --prefix=/usr/local/mysql

This puts the libmysqlclient.* in this dir:  /usr/local/mysql/lib/mysql/

On trying the Obs install (with the tarball off the site) I get this problem: 

checking for mysql_connect in -lmysqlclient... no
***
*** Cannot find and link the mysqlclient library. Please make sure
*** MySql has been properly installed.
*** (libmysqlclient.so should be in /usr/local/lib/mysql or in
*** /usr/lib/mysql)
***


So - I add /usr/local/mysql/lib/mysql to /etc/ld.so.conf and rerun ldconfig - but this doesn't help.  SO - I run this command to symlink the files: ln -s /usr/local/mysql/lib/mysql/* /lib

And now the error I get is:

checking libmysqlclient library availability... not ok
***
*** Cannot run mysqlclient test program. Either libmysqlclient.so is not
*** properly installed or the path to libmysqlclient.so is not
*** in the dynamic link path. To fix this on Linux make sure that the
*** path to libmysqlclient.so (usually /usr/local/lib/mysql) is in
*** /etc/ld.so.conf and that ldconfig has been run.
***

Someone suggested to try out the newest CVS version - so i downloaded that - and that configured fine!  So i thought SWEET AS!  But then I ran the make command, and this was spat out:

make -C main
make[1]: Entering directory `/root/obs/obs/main'
g++ -Wall -g -O2 -D_REENTRANT -c -I../utils -I../xmit -I../volman -I../mpegutils -I../net -I../include -I.. -DPREFIX="\"/usr/local/obs\"" -DLOGDIR="\"/usr/local/obs/logs\"" Main.cpp
Main.cpp:27:25: mysql/mysql.h: No such file or directory
In file included from Main.cpp:31:
../volman/TrackManager.h:27:26: mysql/mysql.h: No such file or directory
In file included from Main.cpp:33:
../volman/FeedCache.h:26:25: mysql/mysql.h: No such file or directory
make[1]: *** [Main.o] Error 1
make[1]: Leaving directory `/root/obs/obs/main'
make: *** [all] Error 2

So - now I'm stuck at a different stage - but on a similar problem. 

How can I remove MySQL properly - leaving no trace - so that I can re-install it to the normal installation directory?  This is the only fix I can think of.

I'm beginning to tear my hair out.

Tom _______________________________________________ Obs-dev mailing list [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/obs-dev

Reply via email to