[ ayttm-Bugs-1777757 ] ld cannot find -lXss

"SourceForge.net" <[email protected]>
Newsgroups gmane.network.instant-messaging.ayttm.user
Message-ID <[email protected]>
Bugs item #1777757, was opened at 2007-08-20 12:35
Message generated for change (Comment added) made by smglchatguru
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=550744&aid=1777757&group_id=77614

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: George (smglchatguru)
Assigned to: Nobody/Anonymous (nobody)
Summary: ld cannot find -lXss

Initial Comment:
Unable to build ayttm 0.5.0-6.  Build fails when ld is unable to find -lXss.  This is using Sourcemage GNU/Linux with everything build from source and xorg 6.9 monolithic.


g++ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/X11R6/include -DGTK_DISABLE_DEPRECATED -I.. -I../libproxy -march=athlon-xp -pipe -Os -o ayttm main.o contactlist.o edit_local_accounts.o service.o status.o account.o info_window.o chat_window.o util.o add_contact_window.o edit_contact_window.o edit_account_window.o sound.o dialog.o prefs.o away_window.o browser.o message_parse.o activity_bar.o spellcheck.o video.o usercount.o chat_room.o value_pair.o edit_group_window.o logs.o trigger.o console_session.o input_list.o nomodule.o plugin_api.o plu
 gin.o file_select.o contact_actions.o smileys.o help_menu.o crash.o account_parser.o account_scanner.o contact_parser.o contact_scanner.o llist.o mem_util.o offline_queue_mgmt.o tcp_util.o i
 mage_window.o action.o about.o messages.o edit_list_window.o flash_window_title.o ssl.o ssl_certificate.o charconv.o -Wl,--export-dynamic  -L/usr/src/ayttm-0.5.0-6/libproxy gtk/.libs/libayttmgtk.a -L/usr/local/lib /usr/lib/libstdc++.so -L/usr/src/gcc-4.1.2.bld/i686-pc-linux-gnu/libstdc++-v3/src -L/usr/src/gcc-4.1.2.bld/i686-pc-linux-gnu/libstdc++-v3/src/.libs -L/usr/src/gcc-4.1.2.bld/./gcc -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -lfl /usr/lib/libltdl.so -lpthread -L/usr/lib /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so -lssl -lcrypto /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/li
 b/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lXss -lproxy -L/usr/local/lib/pth/  
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXss
collect2: ld returned 1 exit status
make[4]: *** [ayttm] Error 1


----------------------------------------------------------------------

>Comment By: George (smglchatguru)
Date: 2007-08-20 22:51

Message:
Logged In: YES 
user_id=1109417
Originator: YES

libxss is installed.


george@athlon:/usr/X11/lib$ ls -l libXss.so*
lrwxrwxrwx 1 root root    13 2007-04-28 02:02 libXss.so -> libXss.so.1.0
lrwxrwxrwx 1 root root    13 2007-04-28 02:02 libXss.so.1 ->
libXss.so.1.0
-rwxr-xr-x 1 root root 10599 2007-04-28 02:02 libXss.so.1.0

The configure of ayttm is even finding it:

checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.0.0... yes (version 2.14.0)
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.6.0... yes (version 2.10.14)
checking for jasper... yes
checking for openssl... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking for X11/extensions/scrnsaver.h... yes
checking for XScreenSaverRegister in -lXss... yes
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for gpgme-config... /usr/bin/gpgme-config
checking for GPGME - version >= 1.0.0... yes
Looking for a Web browser... firefox
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ayttm.spec


I have build many programs that use -lXss with no problems.

----------------------------------------------------------------------

Comment By: Siddhesh Poyarekar (siddheshp)
Date: 2007-08-20 13:34

Message:
Logged In: YES 
user_id=925451
Originator: NO

You don't have libxss (X11 screensaver extension library) installed. Since
you've built everything from source, you'll need to find out if you've
built libxss in the first place. You can search for libXss.so* to find out
if you have the libXss library installed.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=550744&aid=1777757&group_id=77614

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.