Re: [Sqlrelay-discussion] Problem compiling sqlrelay 0.49.1 in Ubuntu server 12.04.2 LTS 64bits
Brought to you by:
mused
From: David M. <dav...@fi...> - 2013-02-16 16:38:54
|
Hi Tomas, Sorry for the late reply. I have had several problems on Ubuntu 12.04 and Debian Wheezy as well. Ubuntu and Debian appear to be using a "multiarch" framework: http://wiki.debian.org/Multiarch On a 64 bit machine, 32 bit libraries are installed under /usr/lib/i386-linux-gnu and 64 bit libraries are installed under /usr/lib/x86_64-linux-gnu or /usr/lib/amd64-linux-gnu. For arm and mips platforms there are even more directories: http://wiki.debian.org/Multiarch/Tuples All of this confounds the sqlrelay configure script. You can get around it by running the configure script, then manually editing the config.mk file that it produces to point to the correct locations for the libraries and header files. I'm not exactly sure how to fix the problem you're having, but I'm sure it has something to do with all of that. I recently received a patch to support multiarch on x86_64 machines but I'm currently trying to figure out how to make the configure script support generic multiarch. Hopefully I can figure it out soon. Dave dav...@fi... On 2/10/2013 1:13 AM, Tomás Rafael Moreno Poggio wrote: > Hi, i had problems compiling the sqlrelay the configure line is next: > > ./configure --with-firebird-prefix=/usr/ > --with-java-prefix=/usr/local/java/jdk1.7.0_07/ > > The screen output is for the conifgure command is in attachament file > Configure_OutPut.txt > > I get the next error > > /bin/sh ../../libtool --mode=link g++ -o sqlr-start sqlr-start.lo > -L./ -lsqlrserver -L../../src/util -lsqlrutil > -L/usr/local/firstworks/lib -lrudiments -pthread /lib/ > -L/usr/lib/x86_64-linux-gnu -lpcre -lrt -lrt -lcrypt -ldl > libtool: link: g++ -o .libs/sqlr-start .libs/sqlr-start.o -pthread > /lib/ -L/usr/local/src/sqlrelay-0.49.1/src/server > /usr/local/src/sqlrelay-0.49.1/src/server/.libs/libsqlrserver.so > -L/usr/local/src/sqlrelay-0.49.1/src/util -L/usr/local/firstworks/lib > /usr/local/src/sqlrelay-0.49.1/src/util/.libs/libsqlrutil.so > /usr/local/firstworks/lib/librudiments.so -L/usr/lib/x86_64-linux-gnu > -lpcre -lrt -lcrypt -ldl -pthread -Wl,-rpath > -Wl,/usr/local/firstworks/lib > /usr/bin/ld: cannot find /lib/: File format not recognized > collect2: ld returned 1 exit status > make[2]: *** [sqlr-start] Error 1 > make[2]: se sale del directorio «/usr/local/src/sqlrelay-0.49.1/src/server» > make[1]: *** [all] Error 2 > make[1]: se sale del directorio «/usr/local/src/sqlrelay-0.49.1/src» > make: *** [all] Error 2 > > I noticied from the problem for ubuntu and dash issued in the faq, i > fix this follow the instruccions in the FAQ and also get the same > error. > > Any idea to fix the compile error? > > > _______________________________________________________ > Unlimited Disk, Data Transfer, PHP/MySQL Domain Hosting > http://www.doteasy.com > > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > > _______________________________________________________ > Unlimited Disk, Data Transfer, PHP/MySQL Domain Hosting > http://www.doteasy.com > > > > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > _______________________________________________________ > Unlimited Disk, Data Transfer, PHP/MySQL Domain Hosting > http://www.doteasy.com > |