Jump to content
funtoo forums
  • 0
ballsystemlord

/usr/bin: file not recognized: It is a directory

Question

This message is mainly INFORMATIVE.

I got this weird error during my installation and tracked it down to an env array called "path" (lower case).

It was not eliminated when I ran: evn -i bla and so I had to kill it manually.

You will get an error like this:

 

/bin/sh ../libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -pipe -O2 -march=native -mfpmath=sse -m3dnow -mmmx -msse -msse3 -msse4a -mpopcnt -mabm -mfxsr -msahf -mrecip=all -minline-stringops-dynamically -frecord-gcc-switches -ggdb -ggdb -ggdb -ggdb -ggdb -ggdb -ggdb -ggdb -fno-strict-aliasing -D_USE_MMAP -fomit-frame-pointer -Wall -Wpointer-arith -Wsign-compare -Wmissing-declarations -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wstrict-aliasing -Warray-bounds -Wstrict-prototypes -export-dynamic -release 0 -version-info 13:60 -thread-safe -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o libzzipwrap.la -rpath /usr/lib64 wrap.lo ../zzip/libzzip.la

/usr/bin: file not recognized: Is a directory

collect2: error: ld returned 1 exit status

Makefile:374: recipe for target 'libzzipwrap.la' failed

make[3]: *** [libzzipwrap.la] Error 1

make[3]: Leaving directory

 

 

To fix it run: export path=""

That killed it for me, but only after I preformed the chroot; in other words, it would not work outside of the chroot.

If you have any further troubles, feel free to ask.

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...