Re: compress problem when using MySQL++

2001-04-23 Thread Sinisa Milivojevic
William Dan Terry writes: When you say the bug is in the linker, do you mean in the linker app itself or how I'm using it? In terms of the static zlib, don't I have that covered with gcc -static metamgrd.o sock.o cfgfile.o cfgitem.o err.o -o ./metamgrd \ -lstdc++ -L/usr/lib/mysql -lz

Re: compress problem when using MySQL++

2001-04-22 Thread Sinisa Milivojevic
Wm Terry writes: I seem to have a problem similar to others, but none of the suggested solutions seem to solve it. It's the standard "undefined reference to `compress'" while using MySQL++. What am I missing. Many solutions appear to address libmysqlclient. So I'm not sure if the problem is

Re: compress problem when using MySQL++

2001-04-22 Thread William Dan Terry
On Sun, 22 Apr 2001, Sinisa Milivojevic wrote: Wm Terry writes: I seem to have a problem similar to others, but none of the suggested solutions seem to solve it. It's the standard "undefined reference to `compress'" while using MySQL++. What am I missing. Many solutions appear to

Re: compress problem when using MySQL++

2001-04-22 Thread William Dan Terry
I solved my own problem. A simple switch in the order of the libraries listed in the link command did the trick. gcc -static metamgrd.o sock.o cfgfile.o cfgitem.o err.o -o ./metamgrd \ -lstdc++ -L/usr/lib/mysql -lmysqlclient -lz -lsqlplus On Sun, 22 Apr 2001, William Dan Terry wrote: On Sun,

compress problem when using MySQL++

2001-04-21 Thread Wm Terry
I seem to have a problem similar to others, but none of the suggested solutions seem to solve it. It's the standard "undefined reference to `compress'" while using MySQL++. What am I missing. Many solutions appear to address libmysqlclient. So I'm not sure if the problem is MySQL or MySQL++