[Mono-list] More mono-1.1.13-4/mod_mono issues - Issues with libgdiplus.dll/postgresql fixed

Chris Aitken chris at ion-dreams.com
Thu Apr 13 06:37:49 EDT 2006


I have solved my issues with Mono breaking PostgreSQL.

Debian Sarge
Mono-installer 1.1.13.4
Postgresql 7.4.7-6sarge1

An ASP.NET app I have written requires libgdiplus. It dynamically resizes
JPG images so the same image can be used in full size & for thumbnail.

Adding "/opt/mono-1.1.13.4/lib" to /etc/ld.so.conf was breaking PostgreSQL
(wouldn't stop/start, psql wouldn't work):
chrisa at chimera:/etc$ psql mono
/usr/lib/postgresql/bin/psql: relocation error:
/opt/mono-1.1.13.4/lib/libreadline.so.4: undefined symbol: BC

Check on /opt/mono-1.1.13.4/lib, to see what libreadline.so.4 is:
chimera:/opt/mono-1.1.13.4/lib# ls -la |grep libreadline
lrwxrwxrwx   1 root root       23 libreadline.so.4 -> libreadline.so.4.3
-rwxr-xr-x   1 root root   173000 libreadline.so.4.3

Delete symlink libreadline.so.4, and rename libreadline.so.4.3. Symlink
libreadline.so.4.3 to /lib/libreadline.so.4.3, and libreadline.so.4 to
/lib/libreadline.so.4.3:

chimera:/opt/mono-1.1.13.4/lib# ls -la |grep libreadline
lrwxrwxrwx   1 root root       23 Apr 13 11:27 libreadline.so.4 ->
/lib/libreadline.so.4.3
lrwxrwxrwx   1 root root       23 Apr 13 11:22 libreadline.so.4.3 ->
/lib/libreadline.so.4.3
-rwxr-xr-x   1 root root   173000 Mar 15 21:22 libreadline.so.4.3.bak

Problem solved. PostgreSQL works, and the app works.

Miguel - Shall I put this on the project website?

Chris



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Mono-list mailing list