|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
||||
|
||||
|
Upgrade problems and Shared Libraries
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. ====== 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 Last edited by redmyrlin : August 15th, 2003 at 08:37 PM. |
|
#2
|
||||
|
||||
|
You posted this on freebsd-questions didn't you?
I started to research this problem as I was upgrading a server with exim-mysql anyway - however I didn't have any problems with the upgrade. Have you tried removing the mysql-client port and reinstalling it? |
|
#3
|
||||
|
||||
|
Quote:
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 *** URL ======= 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! You say you had no problems with your upgrade. What FreeBSD version are you running and what libtool version is installed? |
|
#4
|
||||
|
||||
|
>>What FreeBSD version are you running and what libtool version is installed?
I'm running 4.8-STABLE but libtool isn't required for mysql-client or exim and there are no other dependencies those ports rely on, so I don't know why you have these error messages. Concentrate on installing mysql-client cleanly first, remove it completely and clean the working directory: cd /usr/ports/databases/mysql323-client make deinstall clean then start over: make install Once you know mysql-client is installed cleanly Exim with mysql support should be trivial. Last edited by munkfish : August 16th, 2003 at 09:18 PM. |
|
#5
|
||||
|
||||
|
Thanks munkFish, that seems to have worked like a dream!
The only difference I can see from what I was doing is in the *clean* process before installing. Now all I need to do is to work out how to use exiscan-acl in place of exiscan! Thanks again for your help - really appreciated. ![]() |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > Upfgrade problems ans Shared Libraries |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|