how to compile without the need of dynamic loading of libxml

Discussion Forum for YPOPs!/Linux.


how to compile without the need of dynamic loading of libxml

Postby Q3Q on November 1st, 2004, 11:02 pm

Hi,

Recently , I successfully compiled ypops 0.6 from the source on Mac OS X 10.3.5. (you can see the saga at ypops / mac forum.)

When others get my binary files on their systems, ypops.bin cannot run there, because it expects some dynamic loading library. The error message says

dyld: /usr/local/bin/ypops.bin can't open library: /sw/lib/libxml.1.dylib (No such file or directory, errno = 2)

Obviously, I do not encounter the error because I installed it separately for ypops compilation. However, not all Mac OS X users have it.

Is it possible to compile ypops with this library included in the final binary? (I guess it's called 'static linked', right?) What do I need to do in ypcompile or Makefile? My goal is to compile a 'self-contained' binary file, which does not require the additional installation of libxml package. (it's not part of standard Mac OS X).

Thanks in advance.

Q3Q
YPOPs! Rookie
YPOPs! Rookie
 
Posts: 26
Joined: February 12th, 2004, 10:09 pm

Return to YPOPs!/Linux

Who is online

Users browsing this forum: No registered users and 0 guests

paw prints
cron
SourceForge