Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » linking error trying to compile SQL_MySql demo on linux fedora 9
linking error trying to compile SQL_MySql demo on linux fedora 9 [message #18691] Fri, 17 October 2008 12:51 Go to next message
jpderyck is currently offline  jpderyck
Messages: 15
Registered: October 2008
Location: Belgium
Promising Member
hello,
after installation of the mysql-devel package, I still get an error when compiling the SQL_MySql program

/usr/bin/ld: cannot find -lmysqlclient_r
collect2: ld a retourné 1 code d'état d'exécution

There were errors. (0:00.50)

what does this mean ?

regards from Belgium
Jean-Paul
Re: linking error trying to compile SQL_MySql demo on linux fedora 9 [message #18693 is a reply to message #18691] Fri, 17 October 2008 13:26 Go to previous messageGo to next message
zsolt is currently offline  zsolt
Messages: 697
Registered: December 2005
Location: Budapest, Hungary
Contributor
You don't have the reentrant (multi-threaded/mt) version of mysql client libraries installed.
Re: linking error trying to compile SQL_MySql demo on linux fedora 9 [message #18702 is a reply to message #18691] Fri, 17 October 2008 17:08 Go to previous messageGo to next message
jpderyck is currently offline  jpderyck
Messages: 15
Registered: October 2008
Location: Belgium
Promising Member
Thank you for answer M. zsolt

for me, it seems that the lib are correctly installed

in /usr/lib/mysql I can find

libmysqlclient_r.a
libmysqlclient_r.so
libmysqlclient.a
libmysqlclient.so

but maybe upp don't know that place ?
regards
JP
Re: linking error trying to compile SQL_MySql demo on linux fedora 9 [message #18704 is a reply to message #18702] Fri, 17 October 2008 17:29 Go to previous message
jpderyck is currently offline  jpderyck
Messages: 15
Registered: October 2008
Location: Belgium
Promising Member
Hello,

Now it works !

I just made a copy of the .so files from the /usr/lib/mysql to /usr/lib

thanks
JP
Previous Topic: dbaccess via odbc
Next Topic: Syntactic sugar
Goto Forum:
  


Current Time: Thu Apr 25 21:10:49 CEST 2024

Total time taken to generate the page: 0.06911 seconds