User forums > General (but related to Code::Blocks)
Compile Code::Blocks from SVN under ubuntu (for newbie): experience feed back
BentFX:
--- Quote from: jens on September 26, 2011, 02:04:53 pm ---I will not answer to everything you write. likewise
And again, it works fine without ldconfig.
--- End quote ---
And again Debian insists it be used on Debian systems. That is probably why it is added automatically. Yesterday I had real world experience looking at the linker not finding files that were exactly where they belonged. And ldconfig fixed the issue.
--- Quote ---The cause might be, that I always start with full (or relative) path from console or desktop-file.
The libs are definitely relinked (clearly stated in the buildlog and visible with ldd).
--- End quote ---
Does this break the file? Whether it is added automatically, or not, the fact is the debs are installed with ldconfig. Are the debs broken?
--- Quote ---About removing the software, you write removing /usr/local should not harm the system. That's of course correct, but as you also write, you have several other installations there, and they would surely break, if you remove the fodler they are in.
--- End quote ---
No! They'd just be gone. My menu items would be broken.
--- Quote ---One sentence about sources-list, you can add entries and comments, so you do not need to remember "manually" what the entry is for.
--- End quote ---
Didn't realise that option existed. I'll look into it. Seems everybody wants you to add their repo and accept their digital trust file, but nobody wants to add a meaningful comment to their sources entry.
--- Quote ---Thanks for pointing to the typo in BUILD
--- End quote ---
It's in the man page actually. Could I write a patch? I've never written a patch, and one character in one line of one file seems like the perfect first-timer project. :)
On the ldconfig thing, do what you do. Debian says use it. If you can get by without it that's fine, but on my system if a program fails with "undefined symbols" and the files exist, I'm probably going to run it. and if it fixes the issue I'm probably going to say so.
Jenna:
--- Quote from: BentFX on September 26, 2011, 03:04:34 pm ---On the ldconfig thing, do what you do. Debian says use it.
--- End quote ---
That's not true !
As I wrote, I have installed several versions, none of them is below /usr/local (all below $HOME, because I did not work as root in about 20 years of using unix/linux on any of my machines, if it was not absolutely needed), but /usr/local is not in ld.so.conf.d on my system anyway, so according to:
--- Quote from: BentFX on September 26, 2011, 01:10:41 pm ---I point your attention to the Debian Policy Manual section 8.1.1...
--- Quote ---Any package installing shared libraries in one of the default library directories of the dynamic linker (which are currently /usr/lib and /lib) or a directory that is listed in /etc/ld.so.conf[58] must use ldconfig to update the shared library system.
--- End quote ---
--- End quote ---
it's not needed to run ldconfig, or did I misunderstand something.
The debian-packages have to call ldconfig, because they install their libs in /usr/lib .
oBFusCATed:
--- Quote from: BentFX on September 26, 2011, 03:04:34 pm ---And again Debian insists it be used on Debian systems. That is probably why it is added automatically. Yesterday I had real world experience looking at the linker not finding files that were exactly where they belonged. And ldconfig fixed the issue.
--- End quote ---
1. Debian is not the only distro in the world
2. If you don't know what you're doing -> you should use prebuild packages
3. If you compile from source you should know your system and its requirements!
We can't handle every system in the world. This is the job of the packages/distro maintainers!
--- Quote from: BentFX on September 26, 2011, 03:04:34 pm ---No! They'd just be gone. My menu items would be broken.
--- End quote ---
Facepalm 1
What is the definition of working software, then?
--- Quote from: BentFX on September 26, 2011, 03:04:34 pm ---Didn't realise that option existed. I'll look into it. Seems everybody wants you to add their repo and accept their digital trust file, but nobody wants to add a meaningful comment to their sources entry.
--- End quote ---
Facepalm 2
RTFM! And there is a whole web page with information about what you should do and what the repo provides.
BentFX:
--- Quote from: jens on September 26, 2011, 03:31:09 pm ---The debian-packages have to call ldconfig, because they install their libs in /usr/lib .
--- End quote ---
And if the plain jane "make install" is done on a recent Ubuntu the files go into /usr/local/lib... OMG!!! I just checked out the trunk and its BUILD file suggests "make install" into /usr I think our conversation is done.
Don't any of you lecture me about what I do on my system. :)
No I won't delete the account, you've either got to look at it, or delete it yourselves.
The funny part is I did write the patch for the man page... http://BentFX.com/manpage.patch
Simple "patch -p0 < manpage.patch" from within trunk will do it.
--- Code: ------ src/src/codeblocks.1 2011-09-26 06:59:41.700778880 -0700
+++ src/src/codeblocks.1.fixed 2011-09-26 07:03:11.188781482 -0700
@@ -57,7 +57,7 @@
.nf
codeblocks \-\-build \-\-target="Debug" \-\-no\-batch\-window\-close myproject.cbp
-Batch rebuild everything in myproject.cpp:
+Batch rebuild everything in myproject.cbp:
.nf
codeblocks \-\-rebuild myproject.cbp
.SH AUTHOR
--- End code ---
It boggles my mind. You keep replying with such as this...
--- Quote ---The debian-packages have to call ldconfig, because they install their libs in /usr/lib .
--- End quote ---
And the only point I'm trying to make is on some systems ldconfig is also needed for /usr/local/lib. And you all can't wrap your heads around that.
--- Quote ---Facepalm 1
What is the definition of working software, then?
--- End quote ---
Who ever said working software??? I was only trying to illustrate that /usr/local is not system files!!! Since you've got your face in your palm, go ahead and try to get a grip.
--- Quote ---Facepalm 2
RTFM! And there is a whole web page with information about what you should do and what the repo provides.
--- End quote ---
Again, get a grip! If you want to deride me because I don't know every option to every program on my system then so be it. The fact remains, I'm not going to add the repo. I'll use my Codeblocks... Ha Ha! Hear that? My Codeblocks! Yeah, I'll download what I need, and I'll always be a bit disgusted by you. What a sad case.
AND STILL YOU HAVE NEVER ANSWERED!!! WHAT WOULD YOUR SOLUTION HAVE BEEN??? What a flea king loser.
Read it yesterday... scanned it just now... can't find where it says how to set a comment on the source line... please show me... http://apt.jenslody.de/ or are you just talking out your apps.
oBFusCATed:
@BentFX:
The solution is on "buggy/broken" distros you have to run ldconfig after you run make install. Simple as that...
What other solution do you want from us?
@Admins: can you extract the last posts, because we are too much off topic.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version