Bug 214824 - generator does not find libcppparser.so
Summary: generator does not find libcppparser.so
Status: RESOLVED NOT A BUG
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-16 15:58 UTC by Funda Wang
Modified: 2009-11-16 19:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Funda Wang 2009-11-16 15:58:22 UTC
Version:           4.3.75 (using Devel)
Compiler:          gcc 4.4.1 
OS:                Linux
Installed from:    Compiled sources

When building smoke, it failed with:

[  9%] Built target cppparser
[ 11%] Built target generator
[ 11%] Generating smokedata.cpp, x_1.cpp, x_2.cpp, x_3.cpp, x_4.cpp, x_5.cpp, x_6.cpp, x_7.cpp, x_8.cpp, x_9.cpp, x_10.cpp, x_11.cpp, x_12.cpp, x_13.cpp, x_14.cpp, x_15.cpp, x_16.cpp, x_17.cpp, x_18.cpp, x_19.cpp, x_20.cpp
/home/fwang/rpm/BUILD/kdebindings-4.3.75svn1048496/build/generator/bin/generator: error while loading shared libraries: libcppparser.so: cannot open shared object file: No such file or directory

I'm using cmake with:
cmake -DKDE4_USE_ALWAYS_FULL_RPATH=OFF

Maybe we should tweak some rpath parameters regarding generator or libcpparser.so.
Comment 1 Arno Rehn 2009-11-16 19:08:05 UTC
Yes, you need to leave the RPATH for generator as it is (or at least still point to the generator binary dir).
The executable is needed during compilation, so it obviously has to find the libs it links to. We can't really do anything about it (except static linking, which I don't consider an option). Closing this as invalid.