Re: Help PLEASE!!! -- big ld problem

2001-07-18 Thread Harvey Werner
Hi Trev,

Did you ever solve this problem?

http://lists.debian.org/debian-user-9905/msg00160.html

Or, did you have to reinstall your Linux system?

Harvey Werner

Title: Help PLEASE!!! -- big ld problem
















[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Help PLEASE!!! -- big ld problem




To: debian-user@lists.debian.org
Subject: Help PLEASE!!! -- big ld problem
From: Trevor Glen [EMAIL PROTECTED]
Date: Mon, 03 May 1999 20:50:16 +0930
Sender: [EMAIL PROTECTED]







Help

I was try to get ld-linux to point to an earlier version and so I
deleted ld-linux.so.2 in an attempt to get star office and java working,
and instead I cannot run any program!!!

Is there an easy way to fix this?

Help

Trev












Prev by Date:
Re: Using junkbuster and wwwoffle together

Next by Date:
ld prob

Prev by thread:
Multilanguage display in Netscape

Next by thread:
ld prob

Index(es):

Date
Thread











Re: Help PLEASE!!! -- big ld problem

2001-07-18 Thread Harvey Werner
Hi Trev,

In reference to:
http://lists.debian.org/debian-user-9905/msg00160.html

and your problem with renaming the Linux loader shared library, I
managed to find the fix to this problem. You see, I too used mv to move
ld-linux.so.2 to ld-linux.so.2.old and from that point on, of course, no
shell commands would run. I kept getting no such file or directory
when I would try simple things like running the ls command. And of
course, the way to restore the library was to run mv again, but it
wouldn't run either! What a mess!

BTW, I am running Red Hat Linux, but I'm not sure the version.

So, in search of a fix, I went to the Red Hat web page and found out the
following will work to fix the problem.

/lib/ld-2.2.2.so /bin/mv ld-linux.so.2.old ld-linux.so.2

Since ld-linux.so.2 originally was a symbolic link pointing to
ld-2.2.2.so, I used ld-2.2.2.so directly in the move command and it
worked! Boy, was I relieved! I thought I would have to reinstall!

After this move command, ls works again and things are back to the way
they were.

Anyway, I thought you would like to know even though your original
posting was about a year and a half ago.

Harvey Werner
IBM



Title: Help PLEASE!!! -- big ld problem
















[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Help PLEASE!!! -- big ld problem




To: debian-user@lists.debian.org
Subject: Help PLEASE!!! -- big ld problem
From: Trevor Glen [EMAIL PROTECTED]
Date: Mon, 03 May 1999 20:50:16 +0930
Sender: [EMAIL PROTECTED]







Help

I was try to get ld-linux to point to an earlier version and so I
deleted ld-linux.so.2 in an attempt to get star office and java working,
and instead I cannot run any program!!!

Is there an easy way to fix this?

Help

Trev












Prev by Date:
Re: Using junkbuster and wwwoffle together

Next by Date:
ld prob

Prev by thread:
Multilanguage display in Netscape

Next by thread:
ld prob

Index(es):

Date
Thread











Re: Help PLEASE!!! -- big ld problem

2001-07-18 Thread Joost Kooij
On Wed, Jul 18, 2001 at 08:23:49AM -0700, Harvey Werner wrote:
 Did you ever solve this problem?
 
 http://lists.debian.org/debian-user-9905/msg00160.html
 
 Or, did you have to reinstall your Linux system?

If only the symlink is nuked, just boot with a rescue floppy, get 
a shell, mount the root partition and recreate the symlink.

If the actual ld-x.y.z.so file is gone, you'll have to extract
it from the proper deb and copy it back.

In either case, the rescue disk is your friend.  It is the same
disk as the installation boot disk.

Cheers,


Joost



Re: ld problem

1999-10-31 Thread Liu Chung Him
Dear Martin,

I had already installed the package. The problem is still the same.

What can i do ??

Best wishes,
Wilson

On Fri, 29 Oct 1999, Martin Fluch wrote:

 On Fri, 29 Oct 1999, Liu Chung Him wrote:
 
  I comply a problem which need libX11 . The gcc command line is :
  gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan
  Scan.c
  
  However, there is some error :
  /usr/bin/ld:cannot find -lX11
  collect2: ld returned 1 exit status
  make: *** [Scan] Error 1
  
  I have checked that there is libX11.so.6 under /usr/X11R6/lib.
 
 Have you installed the developer package (lib6g-dev)?
 
 Martin
 
 -- 
 If the box says 'Windows 95 or better', it should run on Linux, right?
- anonymous
 
 For public PGP-key: finger [EMAIL PROTECTED]
 


Re: ld problem

1999-10-31 Thread Martin Fluch
On Sun, 31 Oct 1999, Liu Chung Him wrote:

 Dear Martin,
 
 I had already installed the package. The problem is still the same.
 
 What can i do ??

There seems the right -L option missing:

  -L/usr/X11R6/lib

Since libX11.so resides in /usr/X11R6/lib ... does that help?

Martin

 On Fri, 29 Oct 1999, Martin Fluch wrote:
 
  On Fri, 29 Oct 1999, Liu Chung Him wrote:
  
   I comply a problem which need libX11 . The gcc command line is :
   gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan
   Scan.c
   
   However, there is some error :
   /usr/bin/ld:cannot find -lX11
   collect2: ld returned 1 exit status
   make: *** [Scan] Error 1
   
   I have checked that there is libX11.so.6 under /usr/X11R6/lib.
  
  Have you installed the developer package (lib6g-dev)?
  
  Martin
  
  -- 
  If the box says 'Windows 95 or better', it should run on Linux, right?
 - anonymous
  
  For public PGP-key: finger [EMAIL PROTECTED]
  
 
 

-- 
For public PGP-key: finger [EMAIL PROTECTED]


Re: ld problem

1999-10-31 Thread Mark Brown
On Sun, Oct 31, 1999 at 11:06:12PM +0800, Liu Chung Him wrote:

 I had already installed the package. The problem is still the same.

   gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan
   Scan.c

You want to say -L/usr/X11R6/lib not -L/usr/X11R/lib.

-- 
Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/


pgpYGh6BiY5NW.pgp
Description: PGP signature


Re: ld problem

1999-10-31 Thread Liu Chung Him

Wrong typing !! sorry !!!

But, i had typed correctly in the Makefile.
Is it the linker problem or the shared library problem 

Best wishes,
Wilson

On Sun, 31 Oct 1999, Mark Brown wrote:

 On Sun, Oct 31, 1999 at 11:06:12PM +0800, Liu Chung Him wrote:
 
  I had already installed the package. The problem is still the same.
 
gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan
Scan.c
 
 You want to say -L/usr/X11R6/lib not -L/usr/X11R/lib.
 
 -- 
 Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
 http://www.tardis.ed.ac.uk/~broonie/
 EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/
 


Re: ld problem

1999-10-31 Thread Martin Fluch
On Sun, 31 Oct 1999, Liu Chung Him wrote:

 Wrong typing !! sorry !!!
 
 But, i had typed correctly in the Makefile.
 Is it the linker problem or the shared library problem 

What does ls -l /usr/X11R6/lib/libX11* look like? Perhaps (for some
reason) a dangling symlink?

Martin

-- 
For public PGP-key: finger [EMAIL PROTECTED]


Re: ld problem

1999-10-31 Thread Greg Wooledge
Liu Chung Him ([EMAIL PROTECTED]) wrote:

 gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o 
 Scan
 Scan.c

  You want to say -L/usr/X11R6/lib not -L/usr/X11R/lib.

 But, i had typed correctly in the Makefile.
 Is it the linker problem or the shared library problem 

You need to have libX11.so as a symbolic link to the appropriate shared
library.  Normally you do this by installing the xlib6g-dev package.

-- 
Greg Wooledge| Truth belongs to everybody.
[EMAIL PROTECTED] |   Red Hot Chili Peppers,
http://www.kellnet.com/wooledge/ |


pgp05Mzhrwpwm.pgp
Description: PGP signature


ld problem

1999-10-29 Thread Liu Chung Him
Dear All,

I comply a problem which need libX11 . The gcc command line is :
gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan
Scan.c

However, there is some error :
/usr/bin/ld:cannot find -lX11
collect2: ld returned 1 exit status
make: *** [Scan] Error 1

I have checked that there is libX11.so.6 under /usr/X11R6/lib.

What is the problem ??? How to solve this ???

Thank you !

Wilson


Re: ld problem

1999-10-29 Thread Martin Fluch
On Fri, 29 Oct 1999, Liu Chung Him wrote:

 I comply a problem which need libX11 . The gcc command line is :
 gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan
 Scan.c
 
 However, there is some error :
 /usr/bin/ld:cannot find -lX11
 collect2: ld returned 1 exit status
 make: *** [Scan] Error 1
 
 I have checked that there is libX11.so.6 under /usr/X11R6/lib.

Have you installed the developer package (lib6g-dev)?

Martin

-- 
If the box says 'Windows 95 or better', it should run on Linux, right?
   - anonymous

For public PGP-key: finger [EMAIL PROTECTED]


Re: ld problem

1999-10-29 Thread Ingo Reimann
On Fri, Oct 29, 1999 at 04:25:52PM +0800, Liu Chung Him wrote:
 Dear All,
 
 I comply a problem which need libX11 . The gcc command line is :
 gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan
 Scan.c

Hmm, is this only a misspelling for that mail?

what do you think about:
 gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan
^   ^
 gcc -L/usr/X11/lib -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lVi -o Scan
   ^^

 However, there is some error :
 /usr/bin/ld:cannot find -lX11
 collect2: ld returned 1 exit status
 make: *** [Scan] Error 1
 
 I have checked that there is libX11.so.6 under /usr/X11R6/lib.
  ^
 

 What is the problem ??? How to solve this ???

try that, and the -dev library as it has been suggested

Ingo

I. Reimann   [EMAIL PROTECTED]
Inst. fuer Angew. Physik +49 251 83-33527 (fon)
Correnstr. 2-4   +49 251 83-33513 (fax)
D-48149 Muenster
Germany



Re: ld problem

1999-10-29 Thread aphro
the program may not know where to look

try this:

export LD_LIBRARY_PATH=/usr/X11R6/bin:$LD_LIBRARY_PATH
(for bash^^)
setenv LD_LIBRARY_PATH=/usr/X11R6/bin:LD_LIBRARY_PATH
(for everything else? ^^)

and make again.


nate

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--

On Fri, 29 Oct 1999, Liu Chung Him wrote:

 Dear All,
 
 I comply a problem which need libX11 . The gcc command line is :
 gcc -L/usr/X11/lib -L/usr/X11R/lib -lX11 -lXexr -lXmu -lXt -lVi -o Scan
 Scan.c
 
 However, there is some error :
 /usr/bin/ld:cannot find -lX11
 collect2: ld returned 1 exit status
 make: *** [Scan] Error 1
 
 I have checked that there is libX11.so.6 under /usr/X11R6/lib.
 
 What is the problem ??? How to solve this ???
 
 Thank you !
 
 Wilson
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 


Help PLEASE!!! -- big ld problem

1999-05-03 Thread Trevor Glen
Help

I was try to get ld-linux to point to an earlier version and so I
deleted ld-linux.so.2 in an attempt to get star office and java working,
and instead I cannot run any program!!!

Is there an easy way to fix this?

Help

Trev


bison/ld problem?

1998-12-23 Thread Lee Bradshaw
Hi,

I'm trying to port some code from HP-UX to linux. The debian flex
package includes /usr/lib/libl.a, but the bison package doesn't contain
/usr/lib/liby.a. I checked the latest contents file I could find and
there is no liby.a. What is gcc -ly supposed to link with?

Thanks
-- 
Lee Bradshaw [EMAIL PROTECTED] (preferred)
Alantro Communications   [EMAIL PROTECTED]


RE: bison/ld problem?

1998-12-23 Thread Shaleh

On 23-Dec-98 Lee Bradshaw wrote:
 Hi,
 
 I'm trying to port some code from HP-UX to linux. The debian flex
 package includes /usr/lib/libl.a, but the bison package doesn't contain
 /usr/lib/liby.a. I checked the latest contents file I could find and
 there is no liby.a. What is gcc -ly supposed to link with?
 

yacc I think, bisons partner in crime.


Re: bison/ld problem?

1998-12-23 Thread Henning Makholm
Lee Bradshaw [EMAIL PROTECTED] writes:

 I'm trying to port some code from HP-UX to linux. The debian flex
 package includes /usr/lib/libl.a, but the bison package doesn't contain
 /usr/lib/liby.a. I checked the latest contents file I could find and
 there is no liby.a. What is gcc -ly supposed to link with?

liby, found on various commercial Unices, contains a default
definition of yyerror() and a default main(). There is no
default yyerror() anywhere in bison (at least as of bison 1.25).

I couldn't find any documentation mentioning -ly at the HP-UX
box I'm sitting at; it does not seem to be in the canon of
things one can expect do to portably on unices. 

bison.info contains source for a reasonable default yyerror()
you could use instead of -ly.

-- 
Henning Makholm
http://www.diku.dk/students/makholm


Re: bison/ld problem?

1998-12-23 Thread Lee Bradshaw
Thanks Henning, everything is working now.

On Wed, Dec 23, 1998 at 10:22:05PM +0100, Henning Makholm wrote:
 Lee Bradshaw [EMAIL PROTECTED] writes:
 
  I'm trying to port some code from HP-UX to linux. The debian flex
  package includes /usr/lib/libl.a, but the bison package doesn't contain
  /usr/lib/liby.a. I checked the latest contents file I could find and
  there is no liby.a. What is gcc -ly supposed to link with?
 
 liby, found on various commercial Unices, contains a default
 definition of yyerror() and a default main(). There is no
 default yyerror() anywhere in bison (at least as of bison 1.25).
 
 I couldn't find any documentation mentioning -ly at the HP-UX
 box I'm sitting at; it does not seem to be in the canon of
 things one can expect do to portably on unices. 
 
 bison.info contains source for a reasonable default yyerror()
 you could use instead of -ly.
 
 -- 
 Henning Makholm
 http://www.diku.dk/students/makholm

-- 
Lee Bradshaw [EMAIL PROTECTED] (preferred)
Alantro Communications   [EMAIL PROTECTED]


wierd ld problem

1997-10-30 Thread Chris R. Martin

here's my problem:

ld -o utils.o args.o doubleint.o finddisp.o flsbuf.o geometry.o getrect.o
hash.o heap.o list.o lookup.o lookupany.o lookupfull.o malloc.o match.o
path.o pathvisit.o port.o printstuff.o stack.o strdup.o dqueue.o
runstats.o saveimage.o set.o show.o touchtypes.o  -r -lm 
ld: cannot open -lm: File format not recognized

what am I doing wrong? according to the man page, this is correct syntax
for ld..

Please help me out here...

I have libc5(-dev) 5.4.33-6, ldso 1.8.12-1, binutils 2.7.0.9-3

any clues?

Thanks,
Chris

Chris R. Martin email: [EMAIL PROTECTED]
Computer Engineeringweb: http://http.tamu.edu/~crm7479/
Texas AM University... I'm a 21st century digital boy, I don't know
 how to read but I've got a lot of toys. 
  -- Bad Relgion


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .