Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

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


ballsystemlord

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.

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

×
×
  • Create New...