[csw-maintainers] ld: fatal: file /lib/libresolv.so: version 'SUNW_2.2.2' is unavailable

pfelecan at opencsw.org pfelecan at opencsw.org
Thu Oct 11 10:02:44 CEST 2012


During the packaging of the new release of Emacs I get the following message:

  ld: fatal: file /lib/libresolv.so: version 'SUNW_2.2.2' is unavailable:
  required by file /opt/csw/lib/libORBit-2.so.0
  ld: fatal: file processing errors. No output written to temacs

I tried to understand what's the issue with the map file but to no avail.

Note that I succeeded to link by setting the following variables:

LINKER_MAPS			=
LINKER_DIRECT		=
LINKER_IGNORE		=

Here is the full output for those interested:

/opt/csw/bin/gcc-4.7 -std=gnu99  -Demacs -DHAVE_CONFIG_H  -I.
-I/peter/opencsw/emacs/trunk/work/build-isa-pentium_pro-features-gtk/emacs-24.2/src
-I../lib
-I/peter/opencsw/emacs/trunk/work/build-isa-pentium_pro-features-gtk/emacs-24.2/src/../lib
  -I/usr/openwin/include -D_REENTRANT -D_PTHREADS
-D_POSIX_PTHREAD_SEMANTICS -DXTHREADS -DXUSE_MTSAFE_API
-I/opt/csw/include/gtk-2.0 -I/opt/csw/lib/gtk-2.0/include
-I/opt/csw/include/atk-1.0 -I/opt/csw/include/cairo
-I/opt/csw/include/gdk-pixbuf-2.0 -I/opt/csw/include/pango-1.0
-I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include
-I/opt/csw/include/pixman-1 -I/opt/csw/include
-I/opt/csw/include/freetype2 -I/opt/csw/include/libpng12   -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DXTHREADS -DXUSE_MTSAFE_API -I/opt/csw/include
-I/opt/csw/include/freetype2     -D_REENTRANT -D_PTHREADS
-D_POSIX_PTHREAD_SEMANTICS -DXTHREADS -DXUSE_MTSAFE_API
-I/opt/csw/include/librsvg-2.0 -I/opt/csw/include/glib-2.0
-I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/gdk-pixbuf-2.0
-I/opt/csw/include/cairo -I/opt/csw/include/libpng12
-I/opt/csw/include/pixman-1 -I/opt/csw/include
-I/opt/csw/include/freetype2   -I/opt/csw/include/ImageMagick  
-I/opt/csw/include/libxml2   -I/opt/csw/include/dbus-1.0
-I/opt/csw/lib/dbus-1.0/include   -D_REENTRANT -D_PTHREADS
-I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include   -DORBIT2=1
-D_REENTRANT -D_PTHREADS -I/opt/csw/include/gconf/2
-I/opt/csw/include/orbit-2.0 -I/opt/csw/include/glib-2.0
-I/opt/csw/lib/glib-2.0/include   -I/opt/csw/include/freetype2
-I/opt/csw/include   -I/opt/csw/include   -I/opt/csw/include/freetype2
-I/opt/csw/include   -I/opt/csw/include     -I/opt/csw/include  
-Wimplicit-function-declaration -Wold-style-definition
-Wdeclaration-after-statement  -O2 -pipe -m32 -march=pentiumpro   -m32
-march=pentiumpro -L/opt/csw/lib -Wl,-znocombreloc -L/usr/openwin/lib \
  -o temacs  dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o
charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o
term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o
xsmfns.o fringe.o image.o xsettings.o xgselect.o gtkutil.o  dbusbind.o
emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o
insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o
casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o
editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o
syntax.o unexsol.o bytecode.o process.o gnutls.o callproc.o
region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o
composite.o xml.o     xfont.o ftfont.o xftfont.o ftxfont.o  terminfo.o
lastfile.o       ../lib/libgnu.a    -L/opt/csw/lib -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0
-lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig
-lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lpthread -lthread -lrt
-lglib-2.0 -lintl   -lSM -lICE -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm
-lX11 -lXrender -L/opt/csw/lib -lXft -lXrender -lfontconfig -lfreetype
-lX11    -L/opt/csw/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo
-lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lpthread -lthread -lrt
-lglib-2.0 -lintl   -L/opt/csw/lib -lMagickWand -lMagickCore  
-L/opt/csw/lib -ldbus-1   -L/opt/csw/lib -lxml2    -lresolv -lsocket
-lnsl -lncurses  -L/opt/csw/lib -lgio-2.0 -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0 -lpthread -lthread -lrt -lglib-2.0 -lintl   -L/opt/csw/lib
-lgconf-2 -lglib-2.0 -lintl    -L/opt/csw/lib -lfreetype  
-L/opt/csw/lib -lfontconfig   -L/opt/csw/lib -lz -lbz2 -lotf -lfreetype 
 -L/opt/csw/lib -lm17n-flt -lm17n-core   -L/opt/csw/lib -lgnutls  
-lpthread   -lm
ld: fatal: file /lib/libresolv.so: version 'SUNW_2.2.2' is unavailable:
	required by file /opt/csw/lib/libORBit-2.so.0
ld: fatal: file processing errors. No output written to temacs



More information about the maintainers mailing list