Mailinglist Archive: opensuse (3666 mails)

< Previous Next >
Re: [SLE] Enabling MySQL in Postfix
  • From: Lucky Leavell <susemisc@xxxxxxxxxxxxx>
  • Date: Sat, 19 Mar 2005 23:55:50 -0500 (EST)
  • Message-id: <Pine.LNX.4.61.0503192354500.2303@xxxxxxxxxxxxxxxxxxxx>
On Sun, 20 Mar 2005, Carlos E. R. wrote:

>
> The Saturday 2005-03-19 at 20:34 -0500, Lucky Leavell wrote:
>
> > > You choose :-)
> > >
> >
> > I chose db-devel as it matched the version I had installed and made it
> > past the makefiles generation, resulting in the following
> > conf/makedefs.out:
>
> Ok :-)
>
> But there is no need to post all that (11Kb!). The 3 last lines are
> enough, they show the error.
>
> > gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -g -O -I. -I../../include -DLINUX2 -o master master.o master_conf.o master_ent.o master_sig.o master_avail.o master_spawn.o master_service.o master_status.o master_listen.o master_vars.o master_wakeup.o master_flow.o ../../lib/libglobal.a ../../lib/libutil.a -L/usr/lib/mysql -lmysqlclient -lz -lm -ldb -lnsl -lresolv
> > /usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: cannot find -lz
> > collect2: ld returned 1 exit status
> > make: *** [master] Error 1
> > make: *** [update] Error 1
> >
> > =======================================================================================
> >
> > Further investigation shows libz and libm files are both found in /usr/lib
> > (though some files are also in /lib?) Obviously I am NOT a C, make or ld
> > guru, so please pardon my ignorance and kindly show me how to point the
> > original make to the appropraite libraries. (PostgreSQL looks a lot
> > simpler and may become my backup plan.)
>
>
> I'm not a Linux developper either, but my educated guess is that you need
> some other whatever-devel package. File /lib/libz belongs to zlib.rpm, so
> you should need zlib-dev.rpm, I guess.
>
> And a quick check shows that there is such a package on the dvd.
>
Yes that was it;

Thank you,
Lucky

< Previous Next >