LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-02-2017, 04:25 PM   #1
spies9149
LQ Newbie
 
Registered: Apr 2017
Posts: 6

Rep: Reputation: Disabled
Error when executing make for kcodecs


I'm trying to install the kde-frameworks from the BLFS book and when trying to install the kcodecs package I get this error:

/opt/qt5/bin/lconvert: error while loading shared libraries: libQt5Xml.so.5: cannot open shared object file: No such file or directory
make[2]: *** [CMakeFiles/translations_99.dir/build.make:61: zh_HK/kcodecs5_qt.qm] Error 127
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/translations_99.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I know that it is a problem with lconvert not finding libQt5Xml.so.5 but when I checked /opt/qt5/lib/ libQt5Xml.so.5 was present I also tried "export LD_LIBRARY_PATH=/opt/qt54/lib" but this didn't solve the problem.

If anyone could help that would be much appreciated. Thanks.
 
Old 05-02-2017, 05:08 PM   #2
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Try typing...

Code:
ldconfig -v 2>/dev/null | grep -v ^$'\t'
And see if it's in the default search path. If it's not, you need to go back and add it to ld.so.conf or as a file in ld.so.conf.d.
 
1 members found this post helpful.
Old 05-03-2017, 01:52 AM   #3
spies9149
LQ Newbie
 
Registered: Apr 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks that solved that problem but after it gets past this I get this error:
/opt/qt5/bin/uic: relocation error: /opt/qt5/bin/uic: symbol qt_hash_seed, version Qt_5 not defined in file libQt5Core.so.5 with link time reference
Sorry this is my first time building a desktop interface with LFS.
Thanks for any help.
 
Old 05-03-2017, 05:52 AM   #4
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
You seem to have two different Qt5 versions on your system, with one being in ld.so.conf, other being referenced in PATH.
 
1 members found this post helpful.
Old 05-03-2017, 05:55 AM   #5
spies9149
LQ Newbie
 
Registered: Apr 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Is there a way I can work around or remove a version?
 
Old 05-03-2017, 05:57 AM   #6
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
Just remove references to it from /etc/ld.so.conf and /etc/profile.d, or fix them to reference newest one, only.
 
1 members found this post helpful.
Old 05-04-2017, 03:36 AM   #7
spies9149
LQ Newbie
 
Registered: Apr 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you very much that solved that problem, I have this error occurring now:
-- Building PolkitQt5-1 KAuth backend
CMake Error at src/ConfigureChecks.cmake:153 (string):
string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
src/CMakeLists.txt:5 (include)
Thank you for all you assistance.
 
  


Reply

Tags
blfs error



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
on make -j 2.. executing default commands.prints..leaving directory Error 2 manoj7410 Linux - Distributions 5 06-15-2012 11:08 PM
how to make ./ not necessary when executing geo_diver Linux - Newbie 9 06-19-2009 01:58 PM
Error executing make command for xmlrpc-c 1.06.32 tarball version jayamurugan Linux - Software 3 04-17-2009 06:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration