|
From: Bob D. <bd...@si...> - 2004-05-21 13:32:08
|
in src/examples/c
in the Makefile.am
try changing
example_LDADD to:
example_LDADD = -L${top_builddir}/libsrc/
-L${top_builddir}/inputs/mysql/ $(RLIB_LIBS) -lr -lr-mysql
On Thu, 2004-05-20 at 19:12 -0300, Everton Luis Berz wrote:
> errr...
>
> sorry, the rlib version that I run was the old 1.1.8... my new
> compile/install do not overwrite the old 1.1.8.
> You rename the symbolic link libr.so to libr and librlib.so to librlib,
> correct?
>
> I have been deleted the libr* files at /usr/local/lib and tried the
> new rlib, but.... my new compilation do not works..
>
> gcc -g -O2 -o .libs/example example.o -Wl,--export-dynamic
> -L/usr/local/src/rlib-1.1.8/libsrc -L/usr/i486-slackware-linux/bin
> -L/usr/i486-slackware-linux/lib -L/usr/lib -L/usr/lib/mysql
> -L/usr/local/pgsql/lib /usr/local/src/rlib-1.1.8/libsrc/.libs/libr
> /usr/lib/libxml2.so /usr/lib/./libstdc++.so -lgcc_s
> /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
> /usr/lib/mysql/libmysqlclient.so -lz -lcrypt -lnsl -lpq
> /usr/lib/libodbc.so -lpthread /usr/lib/libiconv.so -ldl -lr-mysql -lcpdf
> -lm -lc -Wl,--rpath -Wl,/usr/lib/. -Wl,--rpath -Wl,/usr/lib/mysql
> /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld:
> cannot find -lr-mysql
> collect2: ld returned 1 exit status
> make[4]: ** [example] Erro 1
> make[4]: Leaving directory `/usr/local/src/rlib-1.1.8/src/examples/c'
>
>
> my prefix is default (/usr/local, lib at /usr/local/lib), I think the
> gcc is searching for r-mysql at /usr/lib.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> Rlib-users mailing list
> Rli...@li...
> https://lists.sourceforge.net/lists/listinfo/rlib-users
|