Hi,

database-1.0.3 package does not compile on Centos 5 and Fedora with 
mysql installed due to not finding the libmysqlclient.so library which 
is located in /usr/lib/mysql/ instead of /usr/lib/

replacing line 54 in src/Makeconf.in with the following line fixes this

MKOCTFILE = @MKOCTFILE@ -DHAVE_OCTAVE_$(ver) -v -L/usr/lib/mysql/

although this is not a perfect solution it works for me now (tested on 
Centos 5)

A better solution is to change configure scripts to also set LDFLAGS 
correctly and add LDFLAGS usage in Makeconf.in
MKOCTFILE = @MKOCTFILE@ -DHAVE_OCTAVE_$(ver) -v -L$LDFLAGS

With kind regards

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to