Results 1 to 2 of 2

Thread: shared libs not found on local installation

  1. #1

    Default [Solved] shared libs not found on local installation

    Hello,

    everybody I'm new to ClanLib. I just found it today and I'm all excited to see it in action!
    A big thanks to the devs who are doing an amazing job

    I've downloaded and installed the latest version of ClanLib (2.2.8). I configured and installed according to the instructions on the documentation page.

    Code:
    ./configure --enable-profile --enable-debug --enable-getaddr --enable-clanVorbis --enable-clanMikMod --enable-clanSWRender --enable-clanCSSLayout --enable-clanGUI --enable-clanNetwork --enable-clanRegExp --enable-clanSqlite --enable-clanDatabase --enable-clanSound --enable-clanGL1 --enable-clanGL --enable-clanDisplay --enable-docs --enable-sse2 --disable-static --prefix=/home/nikki/lib/
    make
    make install
    I can make the examples but when I try to start any of it it tells me:
    Code:
    error while loading shared libraries: libclan22App-2.2.so.1: cannot open shared object file: No such file or directory
    ...which makes sense. sort of. It's a local install in my /home/nikki/lib.

    How can I tell it that the files are located there ?

    thanks
    Last edited by niki; 04-13-2011 at 09:31 AM. Reason: problem solved

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Try:
    LD_LIBRARY_PATH= /home/nikki/lib:$LD_LIBRARY_PATH

    If running above from a script:
    export LD_LIBRARY_PATH

    or add it to /etc/ld.so.conf as root and run ldconfig

Similar Threads

  1. Replies: 5
    Last Post: 02-21-2011, 10:54 PM
  2. Shared sprites
    By nemcheg in forum Official ClanLib SDK Forums
    Replies: 5
    Last Post: 06-17-2010, 10:47 AM
  3. seg fault , Can GC be shared ?
    By wwsoft in forum Official ClanLib SDK Forums
    Replies: 5
    Last Post: 04-19-2010, 10:48 AM
  4. please post copies of directs includes/libs?
    By imnotbncre8ive in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 10-29-2007, 07:20 AM
  5. Stuck in the installation.......
    By sFBorder in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 07-25-2007, 02:23 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •