grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation error of xorriso on MacOSX


From: Yves Blusseau
Subject: Re: Compilation error of xorriso on MacOSX
Date: Tue, 13 Apr 2010 13:53:12 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.2pre) Gecko/20100302 Lightning/1.0b2pre Lanikai/3.1b1


Hi,

when i've tried to compile xorriso on MacOSX 10.6.2
i have this error during
the link:
Undefined symbols:
  "_history_list", referenced from:
       _Xorriso_status in xorriso_xorriso-xorriso.o
...
If i add #undef Xorriso_with_readlinE to xorriso.c, i can compile it.
It looks as if the installed libreadline
does not provide function history_list().
I will try to add a check for this to the
configure script.


There are options for ./configure by which one
can disable libreadline and some other extra
dependencies:
     --disable-libreadline
     --disable-zlib     avoid use of zlib functions like compress2()
     --disable-libacl   avoid use of ACL functions like acl_to_text()
     --disable-xattr    avoid use of xattr functions like listxattr()

They all get disabled automatically by configure
tests if the facility is missing at all.
But here we have a case were it is missing
only in part.
The ACL and xattr stuff is currently Linux-only.
One would probably need a system adapter layer
to make this available on other OSes.

I have the latest readline library (6.1) installed on my MacOSX (from MacPorts):

lrwxr-xr-x 1 root admin 21 Jan 17 02:09 /opt/local/lib/libreadline.5.0.dylib -> libreadline.6.1.dylib lrwxr-xr-x 1 root admin 21 Jan 17 02:09 /opt/local/lib/libreadline.5.1.dylib -> libreadline.6.1.dylib lrwxr-xr-x 1 root admin 21 Jan 17 02:09 /opt/local/lib/libreadline.5.2.dylib -> libreadline.6.1.dylib -rwxr-xr-x 2 root admin 248168 Jan 17 02:09 /opt/local/lib/libreadline.6.1.dylib lrwxr-xr-x 1 root admin 21 Jan 17 02:09 /opt/local/lib/libreadline.6.dylib -> libreadline.6.1.dylib
-rw-r--r--  2 root  admin  396552 Jan 17 02:09 /opt/local/lib/libreadline.a
lrwxr-xr-x 1 root admin 21 Jan 17 02:09 /opt/local/lib/libreadline.dylib -> libreadline.6.1.dylib

But i think configure have tried to use the one in the standard path (/usr/lib):

lrwxr-xr-x 1 root wheel 15 Dec 26 14:03 /usr/lib/libreadline.dylib -> libedit.2.dylib

Perhaps i can use an option of configure or environnement variable to "force" the linker to use the version in /opt/local/lib instead of /usr/lib ?

Regards,
Yves Blusseau

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]