[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] Undefined reference to mysql_real_connect



<snip>
Uha, jeg synes jeg havde et problem med en opdatering af MySQL for
et stykke tid siden, ja, nu kan jeg se det.

mysql-devel-3.23.41-1
php-mysql-4.0.6-7
mysql-4.0.18-1
mysql-server-3.23.41-1
mysqlclient9-3.23.22-6

Hvad du siger du så! Mysql-4.0.18 er installeret fra source og er
så parkeret et andet sted. Det betyder at alle builds, som bruger
den, skal have angivet en anden sti. De gamle pakker har jeg ladet
ligge formentlig fordi der ellers er et eller andet Redhat noget
som giver "brukken dependencies".

-L/usr/lib/mysql skal i hvert fald ændres, når du bygger.
</snip>

Jeg har brugt rpm -Uvh ... til opgradering. Så vidt jeg kan se ud fra
nedenstående, skulle -L/usr/lib/mysql og -I/usr/include/mysql være OK.

Lidt output fra rpm:

sslug@sslug pkgs]# rpm -qp --filesbypkg MySQL-shared-4.0.20-0.i386.rpm
warning: MySQL-shared-4.0.20-0.i386.rpm: V3 DSA signature: NOKEY, key ID
5072e1f5
MySQL-shared              /usr/lib/libmysqlclient.so
MySQL-shared              /usr/lib/libmysqlclient.so.12
MySQL-shared              /usr/lib/libmysqlclient.so.12.0.0
MySQL-shared              /usr/lib/libmysqlclient_r.so
MySQL-shared              /usr/lib/libmysqlclient_r.so.12
MySQL-shared              /usr/lib/libmysqlclient_r.so.12.0.0

sslug@sslug pkgs]# rpm -qp --filesbypkg MySQL-devel-4.0.20-0.i386.rpm
warning: MySQL-devel-4.0.20-0.i386.rpm: V3 DSA signature: NOKEY, key ID
5072e1f5
MySQL-devel               /usr/bin/comp_err
MySQL-devel               /usr/bin/mysql_config
MySQL-devel               /usr/include/mysql
MySQL-devel               /usr/include/mysql/chardefs.h
MySQL-devel               /usr/include/mysql/errmsg.h
MySQL-devel               /usr/include/mysql/history.h
MySQL-devel               /usr/include/mysql/keymaps.h
MySQL-devel               /usr/include/mysql/m_ctype.h
MySQL-devel               /usr/include/mysql/m_string.h
MySQL-devel               /usr/include/mysql/my_alloc.h
MySQL-devel               /usr/include/mysql/my_config.h
MySQL-devel               /usr/include/mysql/my_dbug.h
MySQL-devel               /usr/include/mysql/my_dir.h
MySQL-devel               /usr/include/mysql/my_getopt.h
MySQL-devel               /usr/include/mysql/my_global.h
MySQL-devel               /usr/include/mysql/my_list.h
MySQL-devel               /usr/include/mysql/my_net.h
MySQL-devel               /usr/include/mysql/my_no_pthread.h
MySQL-devel               /usr/include/mysql/my_pthread.h
MySQL-devel               /usr/include/mysql/my_semaphore.h
MySQL-devel               /usr/include/mysql/my_sys.h
MySQL-devel               /usr/include/mysql/mysql.h
MySQL-devel               /usr/include/mysql/mysql_com.h
MySQL-devel               /usr/include/mysql/mysql_embed.h
MySQL-devel               /usr/include/mysql/mysql_version.h
MySQL-devel               /usr/include/mysql/mysqld_error.h
MySQL-devel               /usr/include/mysql/raid.h
MySQL-devel               /usr/include/mysql/readline.h
MySQL-devel               /usr/include/mysql/sslopt-case.h
MySQL-devel               /usr/include/mysql/sslopt-longopts.h
MySQL-devel               /usr/include/mysql/sslopt-vars.h
MySQL-devel               /usr/include/mysql/tilde.h
MySQL-devel               /usr/lib/mysql
MySQL-devel               /usr/lib/mysql/libdbug.a
MySQL-devel               /usr/lib/mysql/libheap.a
MySQL-devel               /usr/lib/mysql/libmerge.a
MySQL-devel               /usr/lib/mysql/libmyisam.a
MySQL-devel               /usr/lib/mysql/libmyisammrg.a
MySQL-devel               /usr/lib/mysql/libmysqlclient.a
MySQL-devel               /usr/lib/mysql/libmysqlclient.la
MySQL-devel               /usr/lib/mysql/libmysqlclient_r.a
MySQL-devel               /usr/lib/mysql/libmysqlclient_r.la
MySQL-devel               /usr/lib/mysql/libmystrings.a
MySQL-devel               /usr/lib/mysql/libmysys.a
MySQL-devel               /usr/lib/mysql/libnisam.a
MySQL-devel               /usr/lib/mysql/libvio.a

sslug@sslug pkgs]# rpm -qa|grep -i mysql
perl-DBD-MySQL-2.9002-1
MySQL-shared-compat-4.0.20-0
MySQL-shared-4.0.20-0
php-mysql-4.3.6-1.3
MySQL-client-4.0.20-0
MySQL-server-4.0.20-0
courier-imap-mysql-3.0.5-1.1
MySQL-devel-4.0.20-0




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *