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

Chris Aitken chris at ion-dreams.com
Thu Apr 20 04:32:28 EDT 2006


Following a PostgreSQL restart issue this weekend, I have deleted the
symlinks, and libreadline.so.4.3 from /opt/mono-1.1.13.4/lib. This leaves
the system with only the libreadlines within /lib. System working fine again
following ldconfig update.

Chris

> From: Wade Berrier [mailto:wberrier at novell.com] 
> It's possible that the Linux Installer doesn't need to 
> include readline anymore.
> 
> It was originally included for mono-debugger, but the 
> debugger may include it's own libraries.
> 
> Can anyone confirm?  If so, I can remove the libreadline from 
> the Installer.
> 
> Thanks for looking into this,
> 
> Wade
> 
> On Thu, 2006-04-13 at 11:37 +0100, Chris Aitken wrote:
> > 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.
> 
> 


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