Recent

Author Topic: /usr/bin/ld: cannot find IX11 error  (Read 6455 times)

cpri

  • New Member
  • *
  • Posts: 14
/usr/bin/ld: cannot find IX11 error
« on: November 15, 2006, 08:21:09 am »
Hello,

When I try to to compile a very simple program I get the error
/usr/bin/ld: cannot find IX11
Error while linking

I checked my fpc.cfg for the lib paths
#-Fl/lib; /usr/lib

When I check /usr/lib I find a link to libX11.so.6 So that should be alright
but I still have that error.

Another thing I tried is to install xorg-x11-devel.
This failed with the message
xorg-x11-devel-6.8.2-31 conflicts with file from package xorg-x11-filesystem-7.0-1  (running Fedora core 5)
(running Fedora core 5)

What else can I try to make lazarus (fpc) compile my code

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: /usr/bin/ld: cannot find IX11 error
« Reply #1 on: November 15, 2006, 08:36:20 am »
Do you have /usr/lib/libX11.so?

Well, you need the an x11-devel package, did you use yum to instal it?

If this doesn't work out, yuo try to set the symlink from /usr/lib/libX11.so to  /usr/lib/libX11.so.6 yourself.

cpri

  • New Member
  • *
  • Posts: 14
RE: /usr/bin/ld: cannot find IX11 error
« Reply #2 on: November 15, 2006, 08:54:25 am »
Ok thanks that worked
I thought that the /usr/lib.libX11.so.6 was already enough.
There were some others missing as well
but after
ln -s libX11.so.6 libX11.so
ln -s libXi.so.6 libXi.so
ln -s libXext.so.6 libXext.so
I finally have my first hello world in Linux

 

TinyPortal © 2005-2018