Re: OT: problem with linking programs using lesstif

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

 



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.backes@xxxxxxxxxxxxxx>
> 
> 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.  

My question is why the package install didn't create the link for you.

-- 
Mark C. Allman, PMP, CSM
Founder, See How You Ski
Allman Professional Consulting, Inc., www.allmanpc.com
617-947-4263, Twitter:  @allmanpc

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux