Hi All,
I have installed FreeBASIC onto my CentOS 5.10 laptop and I am getting the following message
ld: cannot find -lXext
but when I install the package I get the message saying it is already installed
can someone please help me as I am a complete newbie to Linux
Can not Compile on CentOS 5.10
Re: Can not Compile on CentOS 5.10
Did you install the development version (-dev) of the library?
Re: Can not Compile on CentOS 5.10
i've sorted it as I moved to Ubuntu 12.4 :)
Re: Can not Compile on CentOS 5.10
CentOS 5.10 is not a problem. I have compiled FB 1.00 successfully on CentOS 5.9, the process of compilation is very smooth.
Re: Can not Compile on CentOS 5.10
@nymair
Yes, I agree.
On my CentOS 6.5 32-bit, the following enabled FBC, FBC-GCC, and GUI-executable creation:
Yes, I agree.
On my CentOS 6.5 32-bit, the following enabled FBC, FBC-GCC, and GUI-executable creation:
Code: Select all
cd <extracted_directory>
sudo ./install.sh -i
sudo yum install gcc
sudo yum install ncurses-devel.i686 libX11-devel.i686 libXext-devel.i686 libXpm-devel.i686 libXrandr-devel.i686
Re: Can not Compile on CentOS 5.10
I am not sure what i am doing wrong but I can not still get compile on Centos
I have installed the following
gcc
libstdc++-devel
ncurses-devel
libX11-devel
libXext-devel libXpm-devel
libXrandr-devel
libXrender-devel
libstdc++-static
binutils
binutils-devel
when I do this fbc npos.bas I get this message
fbc: error while loading shared libraries: libtinfo.so.5: can not open shared object file: No such file or directory
am i missing something or have i broke it? I have installed Version 1.00.0 in Linux CentOS
I have installed the following
gcc
libstdc++-devel
ncurses-devel
libX11-devel
libXext-devel libXpm-devel
libXrandr-devel
libXrender-devel
libstdc++-static
binutils
binutils-devel
when I do this fbc npos.bas I get this message
fbc: error while loading shared libraries: libtinfo.so.5: can not open shared object file: No such file or directory
am i missing something or have i broke it? I have installed Version 1.00.0 in Linux CentOS
-
- Site Admin
- Posts: 6323
- Joined: Jul 05, 2005 17:32
- Location: Manchester, Lancs
Re: Can not Compile on CentOS 5.10
I'm not an expert, but from a quick search, a missing libtinfo.so.5 seems to be a common problem on CentOS 5, so it's probably nothing you or FB are doing wrong.
Re: Can not Compile on CentOS 5.10
The run-time loader cannot find the binaries of library libtinfo.
On Debian systems libtinfo is included in the libncurses package. I guess on CentOS it's a separate package. Just try to install libtinfo-dev (or libtinfo5-dev, or the run-time package without the -dev).
On Debian systems libtinfo is included in the libncurses package. I guess on CentOS it's a separate package. Just try to install libtinfo-dev (or libtinfo5-dev, or the run-time package without the -dev).