Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Can't load libsfml-system.so.1.4 on 64 bit linux  (Read 4103 times)

0 Members and 2 Guests are viewing this topic.

pointercrash()

  • Newbie
  • *
  • Posts: 3
    • View Profile
Can't load libsfml-system.so.1.4 on 64 bit linux
« on: January 07, 2009, 10:38:10 pm »
Hey
I just tried to install sfml  on my linux system (fedora 10, x64).
I just looked into the Linux install tutorial.

After i downloaded some file, extracted it and called make install as root, I tried to compile the example on the tutorial page, but it said something of "sfml-system not found; incompatible versions ignored" while compiling.

I thought it is a issue with 64 bit. Seams to be build for 32 bit:
Code: [Select]
make clean
make -j8
make install

no problem

than i compiled the example program.
When starting it i just can see:
./clock: error while loading shared libraries: libsfml-system.so.1.4: cannot open shared object file: No such file or directory

i copied the .so.1.4 and a link named libsfml-system.so.1.4 to every directory named lib I was able to find (usr/local/lib /usr/lib /lib/ /usr/local/lib64 /usr/lib64/ /lib64/) and recompiled many times. Nothing chanced.

What is my mistake? How can i solve this?

P.s.
Code: [Select]
$ ldd ./clock
linux-vdso.so.1 =>  (0x00007fff24dfe000)
libsfml-system.so.1.4 => not found
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003a9a800000)
libm.so.6 => /lib64/libm.so.6 (0x0000000000602000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003a98c00000)
libc.so.6 => /lib64/libc.so.6 (0x00007f5a1c8c0000)


edit: sorry for bad forum; I'm a bit pissed and use to much tabs :/

pointercrash()

  • Newbie
  • *
  • Posts: 3
    • View Profile
Can't load libsfml-system.so.1.4 on 64 bit linux
« Reply #1 on: January 08, 2009, 09:12:25 am »
I thounght I did that with;
Code: [Select]
make clean
make -j8
make install


But it does not stop saying "./clock: error while loading shared libraries: libsfml-system.so.1.4: cannot open shared object file: No such file or directory".

How have you recompiled it?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Can't load libsfml-system.so.1.4 on 64 bit linux
« Reply #2 on: January 08, 2009, 09:32:21 am »
Where is located the file libsfml-system.so.1.4? Or, if it doesn't exist at all, what was created after you recompiled SFML?
Laurent Gomila - SFML developer

pointercrash()

  • Newbie
  • *
  • Posts: 3
    • View Profile
Can't load libsfml-system.so.1.4 on 64 bit linux
« Reply #3 on: January 08, 2009, 09:54:49 am »
it is in /usr/local/lib/ and one is in my home directory (~/build/SFML-1.4/lib).
While linking the compiler finds it. Only when executing a compiled application the error is shown.

jonathan

  • Newbie
  • *
  • Posts: 1
    • View Profile
Can't load libsfml-system.so.1.4 on 64 bit linux
« Reply #4 on: April 13, 2009, 09:48:57 pm »
I know the question is a bit old by now but moving the library files to lib64 worked for me.

Code: [Select]
su
cd /usr/lib
mv libsfml* ../lib64

 

anything