LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-01-2020, 01:28 AM   #1
JohnHendry
Member
 
Registered: Apr 2020
Location: Sydney, Australia
Distribution: Crux Linux, LFS, Artix, source packages (64-bit PC)
Posts: 39

Rep: Reputation: Disabled
Iconv identity crisis


I have two iconv executables after installing GNU libiconv, also two of iconv.h. Crux Linux can't find any of them so I can't update glib. I have LD_LIBRARY_PATH including /usr/local/lib where libiconv is but no use.
 
Old 04-01-2020, 01:50 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by JohnHendry View Post
I have two iconv executables after installing GNU libiconv, also two of iconv.h. Crux Linux can't find any of them so I can't update glib.
What do you mean by "can't find them"? Does the find command not list them? Are they not in your execution path?

What do you do, what happens and what did you expect to happen?
 
1 members found this post helpful.
Old 04-01-2020, 02:18 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I'd assume crux needs the headers to compile glib, not the executables?
I don't use crux - how does that work, updating glib?
What is the other iconv you have installed and why?
 
Old 04-01-2020, 02:24 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,080

Rep: Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364
LD_LIBRARY_PATH is used to specify location of libraries (.so files).
I do not really know what are you trying to do, but a .h file is usually used by makefiles or other build processes and you need to add a -I <directory> flag to specify its location and pass it to the compiler (usually that is CFLAGS).
 
Old 04-02-2020, 05:45 AM   #5
JohnHendry
Member
 
Registered: Apr 2020
Location: Sydney, Australia
Distribution: Crux Linux, LFS, Artix, source packages (64-bit PC)
Posts: 39

Original Poster
Rep: Reputation: Disabled
When I say Crux can't find libiconv I mean Crux package manager (prt-get) fails to update glib (for example), citing ld error "missing libiconv". Prt-get builds in a sandbox and updates/installs if successful.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make iconv to skip incorrect symbols or iconv alternative? x-stream Linux - Software 4 09-26-2011 09:32 PM
LXer: Will a Little Openness Solve Your Web Identity Crisis? LXer Syndicated Linux News 0 03-31-2008 04:50 PM
LXer: Linux and its identity crisis LXer Syndicated Linux News 0 09-24-2007 01:12 AM
keyboard having identity crisis in gtk Disco cat Linux - Software 0 10-07-2005 03:07 PM
identity crisis spedsta Linux - Networking 2 06-18-2004 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:31 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