Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2003 19:00:13 -0500
From:      gcn53@vfemail.net
To:        freebsd-questions@freebsd.org
Subject:   Shared libraries
Message-ID:  <1061078413.e8802d3ff963e@www.vfemail.net>

next in thread | raw e-mail | index | archive | help
Well, I'm still trying to sort this problem out (for continuity my first two
posts can be found below) but I'm getting near the end of my tether with this
one and not sure where to go next. I'm very tempted just to give up on FreeBSD
and try Debian.

I have tried reinstalling libtool from the ports as I believe libtool has
something to do with shared libraries. It installs OK but I get this warning
during the install process
======
 Warning: the command libtool uses to detect shared libraries,
 /usr/bin/file, produces output that libtool cannot recognize.
 The result is that libtool may fail to recognize shared libraries
 as such. This will affect the creation of libtool libraries that
 depend on shared libraries, but programs linked with such libtool
 libraries will work regardless of this problem. Nevertheless, you
 may want to report the problem to your system manager and/or to
 bug-libtool@gnu.org
=======
Now this may or may not be the root of my problem, but if it is what is the
solution? I'm completely at a loss!

Can anyone point me in the right direction please!

Thanks
Graeme

----- Forwarded message from gcn53@vfemail.net -----
    Date: Fri, 15 Aug 2003 20:18:11 -0500

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

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 -----




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



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