473,467 Members | 1,402 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Kompilierproblem mit -lmysqlclient

Hallo Leute

ich hab suse 9.0 und hab die binary installation von mysql 4.0.17
installiert. es liegt alles bei usr/local/mysql/ unter dem ordner
/lib/ liegen auch alle libmysqlclient dateien.

ich kompilier mein program mit folgendem gcc befehl

gcc -o myslqtest mysqltest.c -I/usr/local/mysql/include
-L/usr/local/mysql/lib -lmysqlclient

ich erhalte folgenden fehler:

undefined reference to "uncompress"
undefined reference to "my_uncompress"

ich hab schon in den groubs nachgesehen und hab dann -lz hinzugefügt.
doch es funktioniert auch nicht (auch mit -lgz gehts nicht oder -lm).
ich erhalte dann folgenden fehler:

/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld:
cannot find -lz

was kann ich tun. es wäre schon wirklich dringend. ich hab
usr/local/mysql nicht in meinen Pfad getan. könnte es das sein.

bitte helft mir
danke mfg
alex
Jul 19 '05 #1
0 2133

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: charlie | last post by:
Hello, I am trying to compile php-5.0.0b3 on a fedora 1.0 system. I am beginning with the following: charliek 12$./configure \ --with-apxs2=/usr/local/apache2/bin/apxs \ --with-mysql...
0
by: Aliencat | last post by:
I'm having issues compiling php v4.2.2 on Redhat 9.0. The goal ultimately is to compile in mcrypt support, but that's a bit down the road from here. I've chased down the dependencies for the...
2
by: pancho | last post by:
Greetings, I need help configuring/building PHP3 with MySQL as a DSO on a Solaris 8 box - this module is needed to host some existing sites I will be migrating Note. I built PHP4 from source and...
0
by: matt okeson-harlow | last post by:
i am getting errors trying to build MySQLdb on solaris 8, i have tried changing the libs, no joy, anyone have any ideas? Python 2.3.4 gcc -v Reading specs from...
2
by: francescomoi | last post by:
Hi. I'm trying to build 'MySQL-python-1.2.0' on my Linux FC2: ---------------------------------- # export PATH=$PATH:/usr/local/mysql/bin/ # export mysqlclient=mysqlclient_r # python setup.py...
1
by: francescomoi | last post by:
Hi. I'm trying to build MySQL-python-1.2.0 on my Linux FC2 (with MySQL 3.23.58). But when building, I get this error message: ------------------------------------------------------- # python...
0
by: Randell D. | last post by:
Folks, I have installed MySQL v4 (client, server and development rpm's). I've tried and failed to use the recommended mysqladmin to set a root password after the installation (I have another post...
0
by: Alex R. | last post by:
Hallo Leute ich hab suse 9.0 und hab die binary installation von mysql 4.0.17 installiert. es liegt alles bei usr/local/mysql/ unter dem ordner /lib/ liegen auch alle libmysqlclient dateien. ...
3
by: Griff | last post by:
Hi there I'm trying to run some CGI programs under Apache, written in C++, which use the "libmysqlclient" MySQL library. This is all running on Solaris. I build my programs using the...
5
by: Jagadish Kumar, Maripi | last post by:
Hi, I got the following error while trying to compile php with mysql. I would be glad if anyone can help me on this. Here is the error that i've got in config.log The command i used is:...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.