<executable>: "no version information available"

Fernando Rodriguez frodriguez.developer at outlook.com
Tue Sep 15 12:51:33 PDT 2015

On Tuesday, September 15, 2015 11:57:40 AM René J.V. Bertin wrote:
> Hi,
> I know MacPorts isn't actually supported on Linux, but certain ports do 
build without modification. I make very light use of that (and am even trying 
if I can reuse my efforts on Qt5 ports), but have been running into an 
interesting warning lately:
> /opt/local/bin/cmake: /opt/local/bin/cmake: no version information available 
(required by /opt/local/bin/cmake)
> or
> %> /opt/local/bin/bsdtar --version
> /opt/local/bin/bsdtar: /opt/local/bin/bsdtar: no version information 
available (required by /opt/local/lib/libxml2.so.2)
> /opt/local/bin/bsdtar: /opt/local/bin/bsdtar: no version information 
available (required by /opt/local/lib/libxml2.so.2)
> bsdtar 3.1.2 - libarchive 3.1.2
> I'm curious where this comes from (and how to remedy it), any ideas?
> Thanks,
> R.
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users

It means that the libxml2.so that you linked against had versioned symbols but 
the one that's getting loaded doesn't.

Most likely the compiler wasn't compiled correctly and is linking against your 
system libraries. You can see nm to list the symbols on the libraries, the 
ones with versioned symbols will have an @VERSION suffix on all symbols. You can 
use the LD_LIBRARY_PATH and LD_PRELOAD environment variables to load the right 
libraries for troubleshooting.

Fernando Rodriguez

More information about the macports-users mailing list