Testing make install

View: New views
3 Messages — Rating Filter:   Alert me  

Testing make install

by hoako :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi again!

I tested make install, actually it created the binaries in
/usr/local/bin as expected. (ubuntu gusty)

But running the k3d binary gives the following output
/usr/local/bin/k3d: error while loading shared libraries: libk3dsdk-half.so:
cannot open shared object file: No such file or directory

I guess some variables should be set in order to run properly.

Also "make install" plain didn't work since the .pot could build right so i had
to  "make install/fast" in order to bypass this.

Cheers!
Joaquín


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Testing make install

by bART Janssens-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sunday 27 July 2008 13:59:08 Joaquín Duo wrote:

> Hi again!
>
> I tested make install, actually it created the binaries in
> /usr/local/bin as expected. (ubuntu gusty)
>
> But running the k3d binary gives the following output
> /usr/local/bin/k3d: error while loading shared libraries:
> libk3dsdk-half.so: cannot open shared object file: No such file or
> directory
>
> I guess some variables should be set in order to run properly.

Hi Joaquín!

Did you add /usr/local/lib to the ldconfig path? I created a file called
local.conf in /etc/ld.so.conf.d/ with contents:
/usr/local/lib

After that, if you run "sudo ldconfig", k3d should run fine from /usr/local,
at least it did here.

Cheers,

Bart

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Testing make install

by hoako :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bart Janssens wrote:

> On Sunday 27 July 2008 13:59:08 Joaquín Duo wrote:
>> Hi again!
>>
>> I tested make install, actually it created the binaries in
>> /usr/local/bin as expected. (ubuntu gusty)
>>
>> But running the k3d binary gives the following output
>> /usr/local/bin/k3d: error while loading shared libraries:
>> libk3dsdk-half.so: cannot open shared object file: No such file or
>> directory
>>
>> I guess some variables should be set in order to run properly.
>
> Hi Joaquín!
>
> Did you add /usr/local/lib to the ldconfig path? I created a file called
> local.conf in /etc/ld.so.conf.d/ with contents:
> /usr/local/lib
>
> After that, if you run "sudo ldconfig", k3d should run fine from /usr/local,
> at least it did here.
Thanks for the tip, it worked. I thought it would be much more complicated.
(many more directories)
Anyway, ill put this on the wiki, although i guess automating this would be ideal.

Cheers!
Joaquín.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development
LightInTheBox - Buy quality products at wholesale price!