Opened 15 years ago

Closed 15 years ago

#222 closed defect (rtfm)

"make -j" breaks building HELP_SOURCE

Reported by: epruesse Owned by: devel
Priority: major Milestone:
Component: global Version: SVN
Keywords: Cc:

Description

building a clean svn checkout with "make -j16" fails somewhere within HELP_SOURCE:

...
make[4]: Leaving directory `/megx/home/epruesse/arb/amd64/nodebug/arb/HELP_SOURCE/genhelp'
g++   -O99 --strip-all  --export-dynamic  -rdynamic -o /megx/home/epruesse/arb/amd64/nodebug/arb/bin/arb_help2xml arb_help2xml.o ../XML/XML.a -L/megx/home/epruesse/arb/amd64/nodebug/arb/LIBLINK -lARBDB
---------------------------------------------------
------------ Converting old hlp 2 xml:
make xml
make[4]: Entering directory `/megx/home/epruesse/arb/amd64/nodebug/arb/HELP_SOURCE'
touch xml.stamp
arb_help2xml oldhelp/arb.hlp Xml/arb.xml
arb_help2xml: error while loading shared libraries: libARBDB.so: cannot open shared object file: No such file or directory
arb_help2xml: error while loading shared libraries: libARBDB.arb_help2xml: error while loading shared libraries: libARBDB.so: cannot open shared object file: No such file or directory
arb_help2xml: error while loading shared libraries: libARBDB.so: cannot open shared object file: No such file or directory
arb_help2xml: error while loading shared libraries: libARBDB.so: cannot open sharemake[4]: *** [Xml/agde_CAP2.xml] Error 127
make[4]: *** [Xml/agde_clustalw.xml] Error 127
make[4]: *** [Xml/agde_clustalw_sub_clustalw_doc.xml] Error 127
make[4]: *** [Xml/agde_clustalw_sub_clustalw_help.xml] Error 127
make[4]: Leaving directory `/megx/home/epruesse/arb/amd64/nodebug/arb/HELP_SOURCE'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/megx/home/epruesse/arb/amd64/nodebug/arb/HELP_SOURCE'
make[2]: *** [HELP_SOURCE/HELP_SOURCE.dummy] Error 1
make[2]: Leaving directory `/megx/home/epruesse/arb/amd64/nodebug/arb'
make[1]: *** [arb] Error 2
make[1]: Leaving directory `/megx/home/epruesse/arb/amd64/nodebug/arb'
make: *** [all] Error 2

this persists even if "make all" is run without "-j":

...
---------------------------------------------------
------------ Converting old hlp 2 xml:
make xml
make[4]: Entering directory `/megx/home/epruesse/arb/amd64/nodebug/arb/HELP_SOURCE'
arb_help2xml oldhelp/arb.hlp Xml/arb.xml
arb_help2xml: error while loading shared libraries: libARBDB.so: cannot open shared object file: No such file or directory
make[4]: *** [Xml/arb.xml] Error 127
make[4]: Leaving directory `/megx/home/epruesse/arb/amd64/nodebug/arb/HELP_SOURCE'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/megx/home/epruesse/arb/amd64/nodebug/arb/HELP_SOURCE'
make[2]: *** [HELP_SOURCE/HELP_SOURCE.dummy] Error 1
make[2]: Leaving directory `/megx/home/epruesse/arb/amd64/nodebug/arb'
make[1]: *** [arb] Error 2
make[1]: Leaving directory `/megx/home/epruesse/arb/amd64/nodebug/arb'
make: *** [all] Error 2

"make clean && make all" fixes it, though.

Is there a trivial way to fix this?

Change History (2)

comment:1 Changed 15 years ago by epruesse

  • Component changed from !NoIdea to global
  • Priority changed from minor to major

I have to correct myself. This even happens on "make clean && make all". The way to fix it is to "export LD_LIBRARY_PATH=$ARBHOME/lib".

This makes it a little more severe… (changing prio to major)

comment:2 Changed 15 years ago by westram

  • Resolution set to rtfm
  • Status changed from new to closed

Exporting LD_LIBRARY_PATH is a prerequisite for compiling ARB (and at least for me it always has been like that). See also http://bugs.arb-home.de/browser/trunk/arb_INSTALL.txt?rev=6338#L82

Note: See TracTickets for help on using tickets.