Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2003 20:18:11 -0500
From:      gcn53@vfemail.net
To:        freebsd-questions@freebsd.org
Subject:   Shared libraries
Message-ID:  <1060996691.b735e84429a4e@www.vfemail.net>

next in thread | raw e-mail | index | archive | help
I posted the question below earlier on.  Following further research it seems
that libmysqlclient needs the functions provided by -lz but I don't know how to
get that flag into the make file.

So I tried reinstalling mysql323-client and noticed the following warning:

*** Warning: This library needs some functionality provided by -lz.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lcrypt.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lm.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

So if I had the shared versions of the libraries would that overcome my
exim-mysql upgrade problems?

If so how or where do I get the shared library versions?

TIA
Graeme

----- Forwarded message from gcn53@vfemail.net -----
    Date: Fri, 15 Aug 2003 09:42:22 -0500
    From: gcn53@vfemail.net
 Subject: Problem upgrading exim-mysql
      To: freebsd-questions@freebsd.org

I'm running the exim-mysql package on FreeBSD 4.7 and using the deprecated
exiscan patch for virus scanning.

I am now trying to upgrade my exim installation from exim-mysql-4.20_1 to the
latest exim-mysql-4.21_1, so as to use the new exiscan-acl patch and make use
of the new exim 4.21 features.

I am using the command "portupgrade -v exim-mysql" to perform the upgrade but
get the following error:

======
/usr/local/lib/mysql/libmysqlclient.so: undefined reference to `uncompress'
/usr/local/lib/mysql/libmysqlclient.so: undefined reference to `compress'
*** Error code 1

Stop in /usr/ports/mail/exim-mysql/work/exim-4.21/build-FreeBSD-i386.
*** Error code 1

Stop in /usr/ports/mail/exim-mysql/work/exim-4.21.
*** Error code 1

Stop in /usr/ports/mail/exim-mysql.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade15850.0 mak
e
** Fix the problem and try again.
======

Has anyone any ideas as to how I might "Fix the problem"?

TIA
Graeme





----- End forwarded message -----





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1060996691.b735e84429a4e>