Re: Error while loading shared library

2008-07-05 Thread Kees Jongenburger
Hi

you can first try if it works by exporting the LD_LIBRARY_PATH to the
directory where you .so file is located.

It is very normal for applications and shared libraries to get
installed under the /usr diirectory and that one is usualy not
writable by normal "users".Iif you create a .deb file it will be run
and installed as the root user. So the permission denied is "normal".
If you want to compile "static" against the lib remove the
-lmylib options and replace it with a ".a"(archive)  file.

hope this helps


On Sat, Jul 5, 2008 at 9:46 AM, nisha jain <[EMAIL PROTECTED]> wrote:
> Hi Kees,
>
> Yes the databox is compiled for ARMEL mode and also i tried copying and
> installing the .so file which is a shared library i guess dll. I am not able
> to use package manager to install it neither i am able to copy it to
> /usr/lib directory as it is giving me permission denied... I tried red pill
> mode too... I really need to know if i can generate static library or if i
> can some how create debian package i am not sure how to do it as i tried
> before but never been successful so far so my application is just a single
> binary file...
>
> Regards,
> Nisha
>
>
> On 7/5/08, Kees Jongenburger <[EMAIL PROTECTED]> wrote:
>>
>> Hello Nisha,
>>
>> I am not sure I really follow you but here we go
>>
>> On Sat, Jul 5, 2008 at 2:16 AM, nisha jain <[EMAIL PROTECTED]> wrote:
>> > Hi All,
>> >
>> > I am running my application on the N800 and I get following run time
>> > exception.
>> >
>> > error while loading shared libraries : libgtkdatabox-0.8.2.so.2 : can
>> > not
>> > open shared object
>> >
>> > While compilation is perfectly fine also this application binary was
>> > running
>> > perfectly fine..
>> on the sdk right?
>>
>> >
>> > Please let me know if some one can provide some information...
>> search in what package that libgtkdatabox-0.8.2.so.2 is located and
>> install in on the target or add it to the .deb file deps
>>
>> from googling it looks like you are using
>> http://www.eudoxos.de/gtk/gtkdatabox/
>> is that available or compiled for the N800?
>>
>> greetings
>
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Error while loading shared library

2008-07-05 Thread Kees Jongenburger
Hello Nisha,

I am not sure I really follow you but here we go

On Sat, Jul 5, 2008 at 2:16 AM, nisha jain <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am running my application on the N800 and I get following run time
> exception.
>
> error while loading shared libraries : libgtkdatabox-0.8.2.so.2 : can not
> open shared object
>
> While compilation is perfectly fine also this application binary was running
> perfectly fine..
on the sdk right?

>
> Please let me know if some one can provide some information...
search in what package that libgtkdatabox-0.8.2.so.2 is located and
install in on the target or add it to the .deb file deps

from googling it looks like you are using http://www.eudoxos.de/gtk/gtkdatabox/
is that available or compiled for the N800?

greetings
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Error while loading shared library

2008-07-04 Thread nisha jain
Hi All,

I am running my application on the N800 and I get following run time
exception.

error while loading shared libraries : libgtkdatabox-0.8.2.so.2 : can not
open shared object

While compilation is perfectly fine also this application binary was running
perfectly fine..

Please let me know if some one can provide some information...

Regards,
Nisha
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers