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
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,
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 t
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 i