Skip navigation.
Home
The QNX Community Portal

View topic - AppBiulder + mysqlclient = link error

AppBiulder + mysqlclient = link error

Isn't the name clear?

AppBiulder + mysqlclient = link error

Postby Fregl » Tue Apr 28, 2009 11:00 am

Hello. I need make GUI application with mysql support.
I use mysql vesion:
bash-2.05a# mysql --version
mysql Ver 12.16 Distrib 4.0.9-gamma, for pc-nto-qnx (x86)

in AB project properties in Link Libraries added :
-Bshared m mysqlclient

When i compile app, i always getting such message:
*** No rule to make target `libmysqlclient.a', needed by `/src/SHN_2/x86/o-g/SHN_2_g'. Stop.

How i can link mysqlclient library to my project?
Fregl
Active Member
 
Posts: 41
Joined: Thu Jun 05, 2008 10:43 am
Location: Ukraine

RE: AppBiulder + mysqlclient = link error

Postby mario » Tue Apr 28, 2009 12:10 pm

You probably need to specify the path to the library with the -L option.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

RE: AppBiulder + mysqlclient = link error

Postby Fregl » Fri May 29, 2009 8:34 am

the problem was solved by editing make-file in section LIBS+=libmysqlclient.so
Fregl
Active Member
 
Posts: 41
Joined: Thu Jun 05, 2008 10:43 am
Location: Ukraine


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 1 guest