Re: OT: problem with linking programs using lesstif

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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/ ->
>> -rwxr-xr-x. 1 root root 75392 Mar  8 16:14 /usr/lib64/
>> That means: libXpm-3.5.10-1.fc17.x86_64 is installed!
> You need a link that points to  If you type:
>     ls -l /usr/lib64/
> it won't be found.  
> My question is why the package install didn't create the link for you.

Hi mcallman,

After making that link, the program links properly.

Many thanks.

Kind regards

Joachim Backes <joachim.backes@xxxxxxxxxxxxxx>

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

users mailing list
To unsubscribe or change subscription options:
Have a question? Ask away:

Photo 4 Less

[Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Find Someone Special]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

Add to Google Powered by Linux