On 08/14/2012 02:14 PM, Mark C. Allman wrote:
> On Tue, 2012-08-14 at 13:51 +0200, Joachim Backes wrote:
>> Hi,
>>
>> I have a problem with a program using lesstif: compiling OK, but
>> problems with linking (x86_64 platform):
>>
>> gcc  -o xmdemo xmdemo.o  \
>>       -lXm -lXt -lXpm -lXext -lX11
>> /usr/bin/ld: cannot find -lXpm
>> collect2: error: ld returned 1 exit status
>> gmake: *** [xmdemo] Error 1
>>
>> On my box:
>>
>> ls -l /usr/lib64/libXpm*
>> lrwxrwxrwx. 1 root root    16 Mar 16 08:11 /usr/lib64/libXpm.so.4 ->
>> libXpm.so.4.11.0
>> -rwxr-xr-x. 1 root root 75392 Mar  8 16:14 /usr/lib64/libXpm.so.4.11.0
>>
>> That means: libXpm-3.5.10-1.fc17.x86_64 is installed!
>>
>> All comments are welcome
>>
>> Kind regards
>>
>> Joachim Backes <joachim.bac...@rhrk.uni-kl.de>
>>
>> https://www-user.rhrk.uni-kl.de/~backes
>>
> 
> You need a link that points libXpm.so to libXpm.so.4.11.0.  If you type:
>     ls -l /usr/lib64/libXpm.so
> it won't be found. 

Hi mcallman,

That's not correct:

ls -l /usr/lib64/libXm.so
lrwxrwxrwx. 1 root root 14 Aug 14 10:50 /usr/lib64/libXm.so ->
libXm.so.2.0.1


ls -l /usr/lib64/libXm.so.2.0.1
-rwxr-xr-x. 1 root root 1610304 Jan 14  2012 /usr/lib64/libXm.so.2.0.1


-- 
Joachim Backes <joachim.bac...@rhrk.uni-kl.de>

https://www-user.rhrk.uni-kl.de/~backes

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

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to