Opened 16 years ago

Closed 15 years ago

#18206 closed defect (worksforme)

gnome-session: library not found for -lSM

Reported by: martin.osx@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: gnome-session

Description

Well the heading realy says it all but here the full output.

>sudo port install gnome-session
Password:
--->  Building gnome-session
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-session/work/gnome-session-2.24.2" && make all " returned error 2
Command output: make  all-recursive
Making all in egg
make[2]: Nothing to be done for `all'.
Making all in gnome-session
make  all-am
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0  -O2  -L/opt/local/lib -o gnome-session gsm-app.o gsm-autostart-app.o gsm-resumed-app.o gsm-client.o gsm-xsmp-client.o gsm-dbus-client.o gsm-marshal.o gsm-consolekit.o gsm-logout-dialog.o gsm-inhibit-dialog.o gsm-power-manager.o gsm-gconf.o gdm.o gdm-signal-handler.o gdm-log.o main.o gsm-store.o gsm-inhibitor.o gsm-manager.o gsm-xsmp-server.o  -lSM -lICE libgsmutil.la ../egg/libeggdesktopfile.la -L/opt/local/lib -ldbus-glib-1 -ldbus-1 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpixman-1 -lpng12 -lXrender -lX11 -lXau -lXdmcp -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv   -L/opt/local/lib -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lintl -liconv   -L/opt/local/lib -lgconf-2 -lORBit-2 -lm -ldbus-1 -lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv    -L/opt/local/lib -lXrender -lX11 -lXau -lXdmcp   
/usr/bin/gcc-4.0 -O2 -o gnome-session gsm-app.o gsm-autostart-app.o gsm-resumed-app.o gsm-client.o gsm-xsmp-client.o gsm-dbus-client.o gsm-marshal.o gsm-consolekit.o gsm-logout-dialog.o gsm-inhibit-dialog.o gsm-power-manager.o gsm-gconf.o gdm.o gdm-signal-handler.o gdm-log.o main.o gsm-store.o gsm-inhibitor.o gsm-manager.o gsm-xsmp-server.o  -L/opt/local/lib -lSM -lICE ./.libs/libgsmutil.a ../egg/.libs/libeggdesktopfile.a /opt/local/lib/libglade-2.0.dylib /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread /opt/local/lib/libgdk-x11-2.0.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjasper.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libcairo.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libgconf-2.dylib /opt/local/lib/libdbus-glib-1.dylib /opt/local/lib/libORBit-2.dylib -lresolv -lm /opt/local/lib/libdbus-1.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib  
ld: library not found for -lSM
collect2: ld returned 1 exit status
make[3]: *** [gnome-session] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

The following work around will fix it but it should not be that way:

sudo -l ln -s /usr/X11/lib/libSM* /opt/local/lib

Martin

Change History (3)

comment:1 Changed 16 years ago by blb@…

That's odd; is the xorg-libsm port installed? It should have been installed either by startup-notification or xorg-libs (which should all be brought in during the install of gnome-session).

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 15 years ago by tobypeterson

Resolution: worksforme
Status: newclosed

No response to blb's question from 6 months ago, closing.

Note: See TracTickets for help on using tickets.