doubt in using shared libraries

Hi,
I tried to use vim in target,so i found the NEEDED shared libraries in the
host…I did
$ objdump -x /bin/vim | grep NEEDED and i got response as
libc.so.1 NEEDED

But i have few doubts here
1.I had already included libc.so then why should I use libc.so.1 ?
2.objdump says only libc.so.1 is needed but even when i include it i could
not start vim in target,
$vim test.c (In target)
unable to find shared libraries
3.If i missed some libraries I am restarting my target and I am using new
build to start the target, (Even when i copy .so into flash and when I give
/fs0p0 i.e., flash in my library path,my application is not using it)…Is
there any easy methods for this .??

Regards
Mani

“Manigandan Varadharajan” <vm@myw.ltindia.com> wrote in
news:a47hnj$h75$1@inn.qnx.com:

I tried to use vim in target,so i found the NEEDED shared libraries in
the
host…I did
$ objdump -x /bin/vim | grep NEEDED and i got response as
libc.so.1 NEEDED

But i have few doubts here
1.I had already included libc.so then why should I use libc.so.1 ?
2.objdump says only libc.so.1 is needed but even when i include it i
could not start vim in target,
$vim test.c (In target)
unable to find shared libraries
3.If i missed some libraries I am restarting my target and I am using
new build to start the target, (Even when i copy .so into flash and
when I give /fs0p0 i.e., flash in my library path,my application is not
using it)…Is there any easy methods for this .??

You should post your build file, and mention what version of QNX6 your
using. This way everyone can get a clearer idea of what the problem might
be, and post an idea.


\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>

I am using qnx 6.0
I like to use vim application in target, but when i try to start vim it is
giving error as unable to find shared libraries …
I found the NEEDED libraries (for vim) using objdump (libc.so.1) …
But even when i include libc.so.1 it is giving same error message
Now my question is there any other way for finding shared libraries other
than
objdump -x /bin/vim | grep NEEDED
…Do any one used vim on target …?
regards
manigandan

“Adam Mallory” <amallory@qnx.com> wrote in message
news:Xns91B25D5D5E5AEamalloryqnxcom@209.226.137.4

“Manigandan Varadharajan” <> vm@myw.ltindia.com> > wrote in
news:a47hnj$h75$> 1@inn.qnx.com> :

I tried to use vim in target,so i found the NEEDED shared libraries in
the
host…I did
$ objdump -x /bin/vim | grep NEEDED and i got response as
libc.so.1 NEEDED

But i have few doubts here
1.I had already included libc.so then why should I use libc.so.1 ?
2.objdump says only libc.so.1 is needed but even when i include it i
could not start vim in target,
$vim test.c (In target)
unable to find shared libraries
3.If i missed some libraries I am restarting my target and I am using
new build to start the target, (Even when i copy .so into flash and
when I give /fs0p0 i.e., flash in my library path,my application is not
using it)…Is there any easy methods for this .??

You should post your build file, and mention what version of QNX6 your
using. This way everyone can get a clearer idea of what the problem might
be, and post an idea.


\

Cheers,
Adam

QNX Software Systems Ltd.
[ > amallory@qnx.com > ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net

I am using qnx 6.0
I like to use vim application in target, but when i try to start vim it is
giving error as unable to find shared libraries …
I found the NEEDED libraries (for vim) using objdump (libc.so.1) …
But even when i include libc.so.1 it is giving same error message
Now my question is there any other way for finding shared libraries other
than
objdump -x /bin/vim | grep NEEDED
…Do any one used vim on target …?
regards
manigandan

“Adam Mallory” <amallory@qnx.com> wrote in message
news:Xns91B25D5D5E5AEamalloryqnxcom@209.226.137.4

“Manigandan Varadharajan” <> vm@myw.ltindia.com> > wrote in
news:a47hnj$h75$> 1@inn.qnx.com> :

I tried to use vim in target,so i found the NEEDED shared libraries in
the
host…I did
$ objdump -x /bin/vim | grep NEEDED and i got response as
libc.so.1 NEEDED

But i have few doubts here
1.I had already included libc.so then why should I use libc.so.1 ?
2.objdump says only libc.so.1 is needed but even when i include it i
could not start vim in target,
$vim test.c (In target)
unable to find shared libraries
3.If i missed some libraries I am restarting my target and I am using
new build to start the target, (Even when i copy .so into flash and
when I give /fs0p0 i.e., flash in my library path,my application is not
using it)…Is there any easy methods for this .??

You should post your build file, and mention what version of QNX6 your
using. This way everyone can get a clearer idea of what the problem might
be, and post an idea.


\

Cheers,
Adam

QNX Software Systems Ltd.
[ > amallory@qnx.com > ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net

I am using qnx 6.0
I like to use vim application in target, but when i try to start vim it
is giving error as unable to find shared libraries …
I found the NEEDED libraries (for vim) using objdump (libc.so.1) …
But even when i include libc.so.1 it is giving same error message
Now my question is there any other way for finding shared libraries
other than
objdump -x /bin/vim | grep NEEDED

The only time a shared library wouldn’t get listed is if it was loaded at
runtime via dlopen() in the software itself.

You should post your build file so others can offer ideas.

\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>