Jed install from public repository problem

Hello,
I’m running 6.2.1 NC and just tried to install Jed but it comes up with the
error “Can’t access shared library”. Could someone tell me what shared
library it is looking for and where it should be ?

I have installed this software before from this CD on 6.2.0 NC, I assume the
new installer is doing something different or I installed some other
software that accedentally installed the right shared library.

Brett.

On Fri, 16 May 2003 10:36:48 +1200, Brett Wilton <bdwilton@xtra.co.nz>
wrote:

Hello,
I’m running 6.2.1 NC and just tried to install Jed but it comes up with
the
error “Can’t access shared library”. Could someone tell me what shared
library it is looking for and where it should be ?

Try using “objdump -x /usr/local/bin/jed” (replace path with correct one
from “which jed”). Look for lines that start NEEDED which tell you what it
is looking for. Libraries are mostly in /lib and /usr/lib.

The QNX package installer normally resolves such dependencies for you - how
did you install jed?.

Regards
William Morris

Hi Brett,

That error is caused by the program not finding it’s dynamic linker.
Check the output of readelf -l, and look for the ‘requesting program interpreter’
line. Make sure that value is present and correct, ie

/usr/lib/ldqnx.so.1 → …/…/lib/libc.so.1
/usr/lib/ldqnx.so.2 → …/…/proc/boot/libc.so.2

Otherwise, the suggestion of checkking the NEEDED entries with objdump
is correct…

Brett Wilton <bdwilton@xtra.co.nz> wrote:

Hello,
I’m running 6.2.1 NC and just tried to install Jed but it comes up with the
error “Can’t access shared library”. Could someone tell me what shared
library it is looking for and where it should be ?

I have installed this software before from this CD on 6.2.0 NC, I assume the
new installer is doing something different or I installed some other
software that accedentally installed the right shared library.

Brett.


cburgess@qnx.com

Brett Wilton <bdwilton@xtra.co.nz> wrote:
BW > Hello,
BW > I’m running 6.2.1 NC and just tried to install Jed but it comes up with the
BW > error “Can’t access shared library”. Could someone tell me what shared
BW > library it is looking for and where it should be ?

BW > I have installed this software before from this CD on 6.2.0 NC, I assume the
BW > new installer is doing something different or I installed some other
BW > software that accedentally installed the right shared library.

BW > Brett.

I see that you said you were using JED under 6.2.0. I tried it under
6.2.0 but I had problems that made it unusable for me. Specifically,
if I opened up two or more JED sessions on two or more different pterms,
each new session would work, but as soon as I went back to a sesson that
I left behind, it would lock up. I had to exit out of Photon to restore
the system. I guess that’s slightly better than rebooting. But not
enough for me.

When you get JED running again, let me know if you still see this
problem.

TIA

I used objdump to find I was missing :-
libsocket.so.1, libm.so.1, libc.so.1

And readelf to find that I was missing :-
ldqnx.so.1

I used the QNX package installer to install Jed on this machine, the
difference as I see it between the two machines that I installed this on is
that the first computer was upgraded from NC 6.2.0 while the second computer
that had trouble was a clean NC 6.2.1 install. On the second computer, for
example, I have libc.so.0 and libc.so.2 but no libc.so.1.

Is the problem due to the clean install of NC 6.2.1 or did the QNX package
installer stuff up ?

Now I have just copied accross from the other computer the required libs and
jed appears to be working without any problems. The Public repository that I
installed from, just for the record, was 6.21.

“QNX” <william@bangel.demon.co.uk> wrote in message
news:opro855zhgirgpe6@inn.qnx.com

On Fri, 16 May 2003 10:36:48 +1200, Brett Wilton <> bdwilton@xtra.co.nz
wrote:

Hello,
I’m running 6.2.1 NC and just tried to install Jed but it comes up with
the
error “Can’t access shared library”. Could someone tell me what shared
library it is looking for and where it should be ?

Try using “objdump -x /usr/local/bin/jed” (replace path with correct one
from “which jed”). Look for lines that start NEEDED which tell you what it
is looking for. Libraries are mostly in /lib and /usr/lib.

The QNX package installer normally resolves such dependencies for you -
how
did you install jed?.

Regards
William Morris

I started 4 pterms and started jed on each pterm with either 1 or two files
opened in each jed session. I had no problem editing and jumping back and
forth between the respective jed’s. I had no lock ups.

Brett.


“Bill Caroselli” <qtps@earthlink.net> wrote in message
news:ba38gf$puq$1@inn.qnx.com

Brett Wilton <> bdwilton@xtra.co.nz> > wrote:
BW > Hello,
BW > I’m running 6.2.1 NC and just tried to install Jed but it comes up
with the
BW > error “Can’t access shared library”. Could someone tell me what
shared
BW > library it is looking for and where it should be ?

BW > I have installed this software before from this CD on 6.2.0 NC, I
assume the
BW > new installer is doing something different or I installed some other
BW > software that accedentally installed the right shared library.

BW > Brett.

I see that you said you were using JED under 6.2.0. I tried it under
6.2.0 but I had problems that made it unusable for me. Specifically,
if I opened up two or more JED sessions on two or more different pterms,
each new session would work, but as soon as I went back to a sesson that
I left behind, it would lock up. I had to exit out of Photon to restore
the system. I guess that’s slightly better than rebooting. But not
enough for me.

When you get JED running again, let me know if you still see this
problem.

TIA

I saw your other post about missing libs. How can I know if that is my
problem too? Did jed load even with the missing libs?


Brett Wilton <bdwilton@xtra.co.nz> wrote:
BW > I started 4 pterms and started jed on each pterm with either 1 or two files
BW > opened in each jed session. I had no problem editing and jumping back and
BW > forth between the respective jed’s. I had no lock ups.

BW > Brett.

BW > “Bill Caroselli” <qtps@earthlink.net> wrote in message

I see that you said you were using JED under 6.2.0. I tried it under
6.2.0 but I had problems that made it unusable for me. Specifically,
if I opened up two or more JED sessions on two or more different pterms,
each new session would work, but as soon as I went back to a sesson that
I left behind, it would lock up. I had to exit out of Photon to restore
the system. I guess that’s slightly better than rebooting. But not
enough for me.

When you get JED running again, let me know if you still see this
problem.

TIA

No jed did not start at all when I had the library problem, it came up
with a fairly non-descript library error on the console.

“Bill Caroselli” <qtps@earthlink.net> wrote in message
news:bbgfp3$guq$2@inn.qnx.com

I saw your other post about missing libs. How can I know if that is my
problem too? Did jed load even with the missing libs?


Brett Wilton <> bdwilton@xtra.co.nz> > wrote:
BW > I started 4 pterms and started jed on each pterm with either 1 or two
files
BW > opened in each jed session. I had no problem editing and jumping back
and
BW > forth between the respective jed’s. I had no lock ups.

BW > Brett.

BW > “Bill Caroselli” <> qtps@earthlink.net> > wrote in message

I see that you said you were using JED under 6.2.0. I tried it under
6.2.0 but I had problems that made it unusable for me. Specifically,
if I opened up two or more JED sessions on two or more different
pterms,
each new session would work, but as soon as I went back to a sesson
that
I left behind, it would lock up. I had to exit out of Photon to
restore
the system. I guess that’s slightly better than rebooting. But not
enough for me.

When you get JED running again, let me know if you still see this
problem.

TIA

This is what I would expect. So I guess I still don’t know what my
problem is/(was, I’m no longer trying to use it).

Brett Wilton <bdwilton@xtra.co.nz> wrote:
BW > No jed did not start at all when I had the library problem, it came up
BW > with a fairly non-descript library error on the console.

BW > “Bill Caroselli” <qtps@earthlink.net> wrote in message
BW > news:bbgfp3$guq$2@inn.qnx.com

I saw your other post about missing libs. How can I know if that is my
problem too? Did jed load even with the missing libs?