Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8859493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:04:35+00:00 2026-06-14T15:04:35+00:00

In /opt , I unpacked a GTK tarball, modified a couple .c files in

  • 0

In /opt, I unpacked a GTK tarball, modified a couple .c files in minor ways, ran ./configure (without any options) and make (but not make install), then ran one of GTK’s tests to confirm my changes were implemented. They are.

I renamed the linux distribution’s libgtk in /usr to back it up. In it’s place I created a symbolic link to the libgtk in /opt that has my mods.

I’ve carried this out for both the 2.0 and 3.0 versions.

Yet apps, Firefox for example, still seem to be using the distribution’s default libraries.

What steps am I missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T15:04:36+00:00Added an answer on June 14, 2026 at 3:04 pm

    I’ll add to ergosys comment about running ldconfig, that what you may want to do is to add the path to your customized version libraries directory (something like in /opt/gtk-2.xx-customized/lib or /opt/gtk-3.xx-customized/lib using the right version number) in /etc/ld.so.conf. By running ldconfig as root afterwards, it should update the linker cache. The path to your customized version needs however to be specified before the one to the system’s. That way the change is system wide, and you don’t mess with the files created by you distro, which will please your package manager. Original and customized versions will lie in separate directories, easing the maintenance. Use the --prefix option like this: ./configure --prefix /opt/gtk-2.xx-customized to specify where to install your built software. Remember to previously creating that directory, and giving your user the corresponding rights to write there.

    Please read man ldconfig for more information.

    If you want for some reason to run just once in a while an application using the original set of libraries, just use the LD_LIBRARY_PATH environment var to point to the dir you want to inspect before all others already known by ld, which would this time be the one where lies your original library. The syntax is LD_LIBRARY_PATH="/usr/lib" name-of-your-application. Don’t forget that on 64bits systems, the library dir may be named lib64.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

root@everton-laptop:/opt/tinyos-1.x/apps/Blink# make pc compiling Blink to a pc binary ncc -o build/pc/main.exe -g -O0
I found Ofast level opt in the doc of gcc on http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optimize-Options . But
When I compile a given file with the -opt-report or -vec-report options in ICC
mysqldump -S /opt/lampp/var/mysql/mysql.sock -u root -h localhost -p gihan mistoria wp_posts | gzip -9
ssh $hname cd /opt/tomcat/webapps/aware/WEB-INF/classes/com && for FNAME in `tar tvf /tmp/prop.tar | awk '{print
I can't assign RED5_HOME=/opt/red5-1.0.0 since variable appears to empty. Probably some characters in variable
I'm using this .htaccess AuthName Reserved Area AuthType Basic AuthUserFile /opt/bitnami/apache2/htdocs/k4demo60/.htpasswd AuthGroupFile /opt/bitnami/apache2/htdocs/k4demo60/.htgroup <FilesMatch
I'm working on a site in which users can opt-in for email notifications for
Trying to use: :On Error exit :r D:\opt\db_objects\REPORTS\dbo.sp_ReportCountLORUsers.sql ...and I get: Msg 102, Level
I have the following code in test.sh: while getopts f:i: opt; do case $opt

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.