On Fri, Jul 9, 2010 at 9:52 AM, Arttu V. <arttu...@gmail.com> wrote:
> On 7/8/10, Mark Knecht <markkne...@gmail.com> wrote:
>> Hi,
>>    I was trying to slog through all the libpng problems on one of my
>> machines last night but ran into a different issue late in the evening
>> where cmake wouldn't build. I haven't been reading this list all that
>> carefully and didn't find anything obvious with a quick Google search.
>> (Other than some stuff in bugzilla which may or may not relate.)
>>
>>    Have there been any threads lately where this might have come up?
>
> At least one cmake related issue has been handled so that I remember
> it, but it was related to installing new systems.
>
> Without any logs this is just shooting while blindfolded, but if you
> have qt4 USE flag enabled then try this:
>
> USE="-qt4" emerge -1 cmake
>
> Then continue with whatever libpng fixes and advice you are following.
>
> It's very likely that your qt libs (or some other media libs, on which
> qt libs depend on) are now broken due to libpng upgrade -- and thus,
> linking new cmake binaries to qt libs fails due to the breakage ... On
> new systems it's a bit different. IIRC it resulted in circular
> dependencies, which had to be broken down the same way.
>
> --
> Arttu V. -- Running Gentoo is like running with scissors
>
>

Thanks for the idea Arttu. Your suggestion worked fine.

It does appear that this is just more libpng stuff so hopefully when I
get the machine fixed up I can remove the -qt4 flag and get it back
like it was.

I appreciate your help,
Mark


^[[0m^[[31m^[[1mLinking CXX executable ../../bin/cmake-gui
^[[0m[ 98%] ^[[32mBuilding CXX object
Source/CMakeFiles/CTestLib.dir/CTest/cmCTestUpdateCommand.o
^[[0m[ 98%] ^[[32mBuilding CXX object
Source/CMakeFiles/CTestLib.dir/CTest/cmCTestUpdateHandler.o
^[[0m/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: libpng12.so.0, needed by /usr/lib64/qt4/libQtGui.so, not
found (try using -rpath or -rpath-link)
/usr/lib64/qt4/libQtGui.so: undefined reference to
`png_create_write_str...@png12_0'
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_write_...@png12_0'
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_set_fil...@png12_0'
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_set_...@png12_0'
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_set_t...@png12_0'
<SNIP>
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_get_va...@png12_0'
collect2: ld returned 1 exit status
make[2]: *** [bin/cmake-gui] Error 1
make[1]: *** [Source/QtDialog/CMakeFiles/cmake-gui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
^[[31m^[[1mLinking CXX static library libCTestLib.a
^[[0m[ 98%] Built target CTestLib
make: *** [all] Error 2
 ^[[31;01m*^[[0m ERROR: dev-util/cmake-2.6.4-r3 failed:
 ^[[31;01m*^[[0m   Make failed!
 ^[[31;01m*^[[0m

Reply via email to