LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-05-2004, 10:05 AM   #1
frandalla
Member
 
Registered: Oct 2003
Location: Tokyo - Japan
Distribution: Slackware
Posts: 348
Blog Entries: 1

Rep: Reputation: 37
First it was libX*.so.1, now it's .so.3 ... =/


Hi all, first many people were having the libX*.so.1 missing problem which I got to solve with this thread

Now xpdf is asking me for libXm.so.3

How do I build it?


thanks in advance
 
Old 05-05-2004, 10:32 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
do a ln -s <original_lib_name> <new_lib_name> as root, it should work
 
Old 05-05-2004, 11:26 AM   #3
frandalla
Member
 
Registered: Oct 2003
Location: Tokyo - Japan
Distribution: Slackware
Posts: 348

Original Poster
Blog Entries: 1

Rep: Reputation: 37
didn't work. I have libXm.so.2 libXm.so.1 (that I built with that other thread's advice) - not: libXm.so.2 and libXm.so.1 are not the same. libXm.so.2 is linked to libXm.so.2.0.1 .
what do I do to get libXm.so.3 which must be something different from libXm.so.1 and libXm.so.3
 
Old 05-05-2004, 11:49 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
get the xpdf-2.02pl1-i486-1 package, it is the most recent update (with swaret), it does not need libXm.so.3.

Code:
$ ldd /usr/X11R6/bin/xpdf
        libXm.so.2 => /usr/X11R6/lib/libXm.so.2 (0x40039000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40179000)
        libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x401cb000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x401d3000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x401e2000)
        libt1.so.1 => /usr/lib/libt1.so.1 (0x401f1000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40235000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40299000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x402a2000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x402b9000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40381000)
        libm.so.6 => /lib/libm.so.6 (0x40437000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x40459000)
        libc.so.6 => /lib/libc.so.6 (0x40461000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40590000)
        libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x4059d000)
        libdl.so.2 => /lib/libdl.so.2 (0x405c5000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x405c8000)
But the ln -s thing should works with
# ln -s liblibXm.so.2.0.1 libXm.so.3
 
Old 05-05-2004, 08:40 PM   #5
frandalla
Member
 
Registered: Oct 2003
Location: Tokyo - Japan
Distribution: Slackware
Posts: 348

Original Poster
Blog Entries: 1

Rep: Reputation: 37
the version I got is 3.0.0, package from linuxpackages
output i get when trying to run it after the ln -s thing

Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Segmentation fault
 
Old 05-06-2004, 01:07 PM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
maybe you have a xfree 4.3 version (like me) and package maker from linuxpackages site have compiled xpdf with xfree 4.4 library

Edit: when you get xpdf running, edit (or create) ~/.xpdfrc file to ajust your settings for good display fonts:
freetypeControl high
for example

Last edited by keefaz; 05-06-2004 at 01:13 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration