Results 1 to 12 of 12

Thread: Clanlib on Hardy Heron

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Lesser Knight
    Join Date
    Feb 2008
    Posts
    41

    Default Clanlib on Hardy Heron

    Long story short, like most of the software repositories, clanlib is out of date. What is the best way to get clanlib .8.x installed? Do I need to manually compile it?

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,389

    Default

    Yep - SVN check out svn://esoteric.clanlib.org/ClanLib/Development/ClanLib-0.8 and check its readme for how to get it built.
    Seth A. Robinson
    Robinson Technologies

  3. #3
    Lesser Knight
    Join Date
    Feb 2008
    Posts
    41

    Default

    So I finally got around to compiling Clanlib, but Novashell still complains about how I don't have it. Do I need to dump the compiled files somewhere after compilation?

    EDIT: Here's what I'm getting....

    grant@grantxps:~$ cd novashell/
    grant@grantxps:~/novashell$ ./novashell
    ./novashell: error while loading shared libraries: libclanApp-0.8.so.1: cannot open shared object file: No such file or directory

    EDIT2: Well I dug through the output after I ran make install and noticed this:

    Libraries have been installed in:
    /usr/local/lib

    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
    during execution
    - add LIBDIR to the `LD_RUN_PATH' environment variable
    during linking
    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
    - have your system administrator add LIBDIR to `/etc/ld.so.conf'

    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.

    Is it not looking for the libraries in usr/local/lib? And if so do I need to symlink or something? I checked in usr/local/lib and the file novashell is looking for is there, but it's linked to libclanApp-0.8.so.1.0.0, which is in the same directory....
    Last edited by Starclopsofish; 09-22-2008 at 09:37 PM.

  4. #4
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,389

    Default

    Hmm.. on my system just doing the regular make install is enough, no custom copying needed. It uses libtool magic to let gcc find things, maybe try to compile the clanlib example "Basic2D" and see if that works? (in examples/basic2d do a "make" from the shell)
    Seth A. Robinson
    Robinson Technologies

  5. #5
    Lesser Knight
    Join Date
    Feb 2008
    Posts
    41

    Default

    Quote Originally Posted by Seth View Post
    Hmm.. on my system just doing the regular make install is enough, no custom copying needed. It uses libtool magic to let gcc find things, maybe try to compile the clanlib example "Basic2D" and see if that works? (in examples/basic2d do a "make" from the shell)
    Wow, that worked. Thanks! Uh..... so just for future reference and personal growth and all that, why did that work? lol

  6. #6
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,389

    Default

    I don't know, the way linux deals with finding libraries is very confusing to me too..
    Seth A. Robinson
    Robinson Technologies

Similar Threads

  1. Installing ClanLib 0.8 and ClanLib 0.9 on linux
    By rombust in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 07-15-2008, 09:51 AM

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
  •