TurnKey Linux Virtual Appliance Library

Cannot mmap file

caseystone's picture

Hello: I deployed the Core 11.1 VM (from OVF) on my ESXi4.1 system. After recovering from the troubles with updating (udev) during and after install, I tried to install a few things (postfix) and got this.. not sure if I'd call it an error, but I find it troubling:

Processing triggers for libc-bin ...

ldconfig deferred processing now taking place

/sbin/ldconfig.real: Cannot mmap file /usr/lib/libGuestLib.so.

/sbin/ldconfig.real: Cannot mmap file /usr/lib/libGuestLibJava.so.

Then again:

root@core ~# dpkg-reconfigure postfix

 * Stopping Postfix Mail Transport Agent postfix


/sbin/ldconfig.real: Cannot mmap file /usr/lib/libGuestLib.so.

/sbin/ldconfig.real: Cannot mmap file /usr/lib/libGuestLibJava.so.

/sbin/ldconfig.real: Cannot mmap file /usr/lib/libGuestLib.so.

/sbin/ldconfig.real: Cannot mmap file /usr/lib/libGuestLibJava.so.

Cause for concern or not?

Thank you.

Kevin's picture

Map Filews

Have a look at this

I know its not Turnkey but I found it to be a great help


Fix the links for the vmware libraries

This link got me moving in the right direction.


The issue lies in an incorrectly formed pair of links created during install of the vmware-tools.  If you issue the following command, you will see that this is not a linux shared object (.so), but a directory which contains another shared object with the same name

ls -l /usr/lib/libGuestLib*.so


the method i've used for fixing this (without changing /usr/bin/vmware-config-tools.pl) is to clear the bad symlinks and create ones that point to the actual objects

rm /usr/lib/libGuestLib.so
ln -s /usr/lib/vmware-tools/lib32/libvmGuestLib.so/libvmGuestLib.so /usr/lib/libGuestLib.so
rm /usr/lib/libGuestLibJava.so
ln -s /usr/lib/vmware-tools/lib32/libvmGuestLibJava.so/libvmGuestLibJava.so /usr/lib/libGuestLibJava.so

Guest's picture

Thanks a lot

Got same issue installing OTRS on TurnKey LAMP, happy that found this post.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)