Software :: Custom Built GCC - Default Search Path For Stdlib

Jun 15, 2011

I've just built gcc 4.6.0 by myself since there is no update in Mandriva yet and I really needed the updated version, but I must be missing something in its configuration. I added ~/apps/gcc460/bin in front of my PATH, and the lib dir to my LD_LIBRARY_PATH in my .bash_profile, like so:

Code:
PATH=$HOME/apps/gcc460/bin:$PATH:$HOME/apps/bin
LD_LIBRARY_PATH=/home/duckz/apps/intel/composerxe-2011.4.191/lib/intel64/:/home/duckz/apps/gcc460/lib/
LD_RUN_PATH=/home/duckz/apps/intel/composerxe-2011.4.191/lib/intel64/:/home/duckz/apps/gcc460/lib/
export PATH
export LD_LIBRARY_PATH
export LD_RUN_PATH

I still have gcc 4.4.2 installed, but it's now hidden, so gcc --version correctly yields 4.6.0. I finally tried to build my project, all went fine, but at the moment of running it I get:
Code:
./EugGame.Release.Linux: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./EugGame.Release.Linux)

I assume the correct version is the one located in ~/apps/gcc460/lib, but how do I make my project load the correct lib? Is it possible at all to have two versions of gcc on the same machine? I just found that I should've added lib64 to my LD_LIBRARY_PATH instead of lib. Anyways, even if the problem is solved, I'd like to hear if my configuration is well made or if I should leave LD_LIBRARY_PATH unset and use some other way to override the default search path for stdlib.

View 1 Replies


ADVERTISEMENT

Programming :: Adding Job From Script (Custom Built RPM)

Mar 10, 2011

I'm building an RPM that requires adding a cron job into a user's(service account) crontab...from what I see in the manpages, this isn't possible, as the only viable option is to replace the crontab entries already there for previous scripts being run. Either way, as an example I've found I can make it work by directly modifying the crontab file using:

Code:
echo "* * * * * /bin/ls -la ~/ >> ~/ls.log" >> /var/spool/cron/userName

I'd just like to know, is there any MAJOR issues with modifying a the crontabs like this? This is running on a Redhat Enterprise Linux server by the way.

View 1 Replies View Related

Slackware :: Custom Built 2.6.37 Kernel And ACPI

Feb 12, 2011

I have a custom built 2.6.37 kernel where I have most of my devices compiled into the kernel. The only modules are related to nouveau (in case I want to go back to proprietary nvidia) and sound drivers. Everything seems to be running fine. However, in /proc/acpi, I'm missing a number of entries, such as thermal_zone/, dsdt, etc. I do have ac_adapter/, battery/, button/, event, processor/ and wakeup. I've gone through what I think is a very detailed review of my kernel config, and I can't find where I've missed something ACPI related. Here is my kernel config with the ACPI section.

Code:
# Power management and ACPI options
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_PM_SLEEP_SMP=y
CONFIG_PM_SLEEP=y
CONFIG_SUSPEND_NVS=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HIBERNATION=y .....

View 12 Replies View Related

Ubuntu Multimedia :: Find The /dev Path For Built-in Mic?

Dec 27, 2010

I am using VLC to capture video from my webcam. So to set the video device I use /dev/video0 (built in webcam), but I need to specify the path to the built in mic and I can't find what that path is. If it help any, it seem my system is configured to use pulse audio instead of alsa. Is there any script to run to find where my mic is "pathed" at? arecord -l returns this:

$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1

[Code]....

View 9 Replies View Related

General :: Search On The Internet For Some Guidelines To Built A HA Between 2 Servers?

Jan 27, 2011

i'm trying to search on the internet for some guidelines to built a HA between 2 linux servers, they are in fact SIP PROXYS. I've been checking on the linux-ha.org and now i'm quite confuse, they mention Pacemaker, Corosync and then glue..

View 1 Replies View Related

General :: Video Player With Built-in Subtitle Search?

Oct 19, 2009

I'm really new to all these *nix stuffs but I already likes the software, the community and even the manuals) Can anyone help me with subject? I like watching all these good shows airing through bittorrent and on-line hostings but I don't know English as well as I think so I also need to download a lot of subtitles. Is there any media player for *nix with built-in online subtitle search, download and open?

View 3 Replies View Related

General :: Custom Built Live CD Using Gentoo Not Booting Properly On All Machines?

Dec 12, 2009

I've been working on creating a Live CD with the tools I want, just for my use with system recovery and repair. For the most part, things have gone very well. The Live CD actually works fine, somewhat. I have run in to a problem where it doesn't actually boot on a lot of hardware.

What happens is during boot, while the modules are loading, the boot process hangs and the disc drive spins down. While I thought it might be a kernel problem, I'm using the .config from the latest gentoo Live CD, which boots fine on the same hardware.

View 2 Replies View Related

Slackware :: Worth Changing Chost If System Built With Custom Prescott Cflags?

Oct 18, 2010

I built my slackware system from source code. Bootstrapped, toolchained etc.. The only thing I didn't change was the chost thinking that life would be easier if left alone @ i486. Would I have gained anything if I had used i786 or even pentium4 (pentium4-slackware-linux-gnu)?

I already got all the benefits of optimization when I used (still using) my own CFLAGS CXXFLAGS right? So changing the chost won't do anything speed wise will it? If I used march=prescott when compiling everything am I ok to just forget about the chost value? It's not gonna change anything will it?

View 7 Replies View Related

Fedora :: Search Path For 'sh'?

Sep 7, 2011

I would like to run a script from any location. The script is in ~/scripts, so I added ~/scripts to my PATH. However, since I have to run it with 'sh script.sh' (due to the permissions on the directory), it doesn't seem to look in PATH for the file script.sh. Is there a way to get it to do this?

View 11 Replies View Related

Fedora :: DNS Search Path Deleted?

May 13, 2010

I am trying to setup DNS domain name in my server (Fedora), which has static ip address.First, I put the DNS domain name in system-config-network->DNS->DNS search path. After restarting the network, it is deleted automatically.second, so I put the DNS domain name in /etc/resolv.conf as search mydomainname . After network restart, it is also deleted automatically.In both case domain name did not work (i.e, I can't connect to my server from outside using domain name, I can by ip address, internet is working fine).However, I found that the domain name is written in /etc/sysconfig/network-scripts/ifcfg-eth0 with search=mydominaname.

View 5 Replies View Related

Red Hat / Fedora :: Root Search Path ?

Aug 31, 2010

I am trying to find the permissions of the directories in the $PATH variable.

I am trying to use the following:

View 1 Replies View Related

General :: Search For A Link To A Certain Path?

Sep 24, 2009

I have a /data and /backup. on backup there is a folder called Info that has a bunch of data on it, but its not shared through Samba. So what I'm thinking is that on one of my Samba shares on data there is a folder which is really just a link to that /backup/Info folder. Is there an easy way to search through /data to see if there's a link to it, or do i have to manually go through and do a ton of ls's?

View 10 Replies View Related

Fedora :: Nautilus - Search In The Current Path?

Apr 10, 2010

when i search in nautilus folder browser it search in my home path,how i can say to search in the current path?

View 2 Replies View Related

Programming :: Search And Repalce A Char In Path Using Sed ?

Sep 1, 2009

I have the following path wher i want to replace forward slashes with back slashes using sed path=/temp/file.tar

I am using the following but it's not working.

View 3 Replies View Related

Ubuntu :: Lib Packages Not Found In Config Search Path

Aug 16, 2011

I just installed Netsurf, but I was confronted with "libnsbmp is not installed". So I installed libnsbmp.
The error "libnsgif is not installed" appeared when installing libnsbmp.
The error "libpng is not installed" appearded when installing libpnf.
...
I installed all that I was asked to install. However, when I was installing libcss, it said that "Package libparserutils was not found in the pkg-config search path. Perhaps you should add the directory containing 'libparserutils.pc' to the PKG_CONFIG_PATH environment variable". I have already installed libparsercutils but not in the /usr/lib dir.

What should I do to continue my installation? And anyone could tell me what are those lib stuff? I installed zlib with the apt-get install command.Can I get other lib stuff with the same command?

View 2 Replies View Related

Programming :: Specify A Library Search Path To Configure's AC_CHECK_LIB?

Aug 31, 2010

I'm writing an application and want to make possible to compile it with or without an optional module. This module requires perl library to be compiled, so I want to check presence of it in 'autoconf'.

The problem exists because perl library is placed in 'non-standart' location itself (like a /usr/lib64/perl5/CORE/libperl.so). So when I try to run configure (with AC_CHECK_LIB or AC_SEARCH_LIBS), it cannot find and link libperl.so in its test.

Trying to pass ./configure CFLAGS=-L/usr/lib64/perl5/CORE/ or ./configure LDFLAGS=-L/usr/lib64/perl5/CORE/

How can I define a location to search for configure's tests?

View 1 Replies View Related

General :: Find Command To Search Wildcard In Path?

Dec 8, 2009

I need a command to search for any file in a directory like so:

/home/*/upload/* and then change permissions any file in that directory.

Find doesn't seem to match what I need.

View 12 Replies View Related

Programming :: How To Change - Add To - Library Search Path At Runtime

Jan 9, 2011

I'm writing an application with a plugin architecture and would like modify (specifically add to) the dynamic library search path while the main executable is running.

The plugin paths are not known until the application is running so I can't set LD_LIBRARY_PATH ahead of time.

My understanding (although I haven't tested it) is that the executable will only parse the LD_LIBRARY_PATH once, early on, so modifying this environment variable at runtime will have no effect.

(Note - on Windows the solution is to modify the PATH environment variable)

I know it's possible to specify the full path to load a dynamic library, and this would work if the plugin(s) only had a single library to load, but some of them will have a bunch of libraries with their own inter-dependencies, so I'd like the plugin folder(s) to get added to the search path to pick up the dependant libs.

View 8 Replies View Related

Fedora :: Search Path - Yum & Rpm Commands Fail When Executed As Root

Jul 15, 2009

I've setup dimdim (opensource, centos 5.3) and noticed yum & rpm commands fail when executed as root because it uses librpmio from openoffice3 instead of /usr/lib (I'm running from memory so I may have misstyped). But sudo doesn't have this problem.

How can root's search path be different, especially after I state /usr & /usr/lib at the top of /etc/ld.so.conf.

View 2 Replies View Related

Networking :: Search Path In Resolv.conf Overwritten By The Hostname After Reboot?

Mar 19, 2009

Before reboot,
$ cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 172.20.10.22
search mycomp.local myhost.com

After reboot, the search path in resolv.conf is overwritten by the hostname.

$ cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 172.20.10.22
search penguin

View 3 Replies View Related

Ubuntu :: Add Custom .7z Settings As Default

Feb 17, 2011

the archive manager in ubuntu uses default settings for archiving files into .7zip

s. but much more compression can be achieved setting the cmpression level

higher from command line. Is there a way I can set that settings as default in Archive manager?

View 5 Replies View Related

Ubuntu :: How To Set Terminal Default Path To Pwd

Jun 28, 2011

Open a new terminal either in tab or new windows,The default work directory is $HOMEDoes anyone know how to change it to `pwd`, so every time a new terminal starts form the same path as the mother terminal (the terminal user calls new from).

View 9 Replies View Related

Debian :: Epiphany Default Search Engine

Jul 13, 2010

I have been using Epiphany for about 10 days now. It seems that suddenly my search engine was changed from Google to VirginMedia.I cannot find any option to set the default search engine, either in Epiphany preferences or in gconf-editor.Can anyone explain how this change has occurred or how I might get back to having Google as my default search engine? I am using Debian Lenny 5 and Epiphany 2.22.3

View 5 Replies View Related

Ubuntu :: Setting Custom Default Applications In 11.04?

Apr 30, 2011

I'm trying to set the default apps using gnome-default-applications-properties. In previous versions I was able to set custom apps for everything. Looks like Gnome3/Ubuntu 11.04 doesn't let me do that for, say, the mail reader. I'm one of those people who still use Alpine, and in previous versions I was able to set the default to run an xterm (well, aterm) which auto-ran alpine.

This version, looks like that's not there. I'm wondering if there's a way to set that anyway. like registering a script I write as a "mail client" so it's available in the chooser. Second... and almost MORE annoying... the "Terminal Emulator" default app DOES have a custom option. But it also recognises that I have aterm installed, which I want to use as the default app... however, since it has an aterm option, it won't let me enter aterm as a default command. Which I want to do because I want to modify the commandline options. But if you choose "Custom" and type "aterm" into the Command field... it ERASES your commandline options and puts it's default sterm options in!

View 6 Replies View Related

Fedora :: How To Change Default Path In Jboss

Jan 3, 2011

I want to change the default path for logs in Jboss running on Fedora box? How to do the same?

View 1 Replies View Related

Ubuntu :: Apache 2 Won't Let To Change Default Path

Jun 27, 2010

I'm trying to make a reference to a second hard drive that is not part of the main file system, so I changed all the references to /var/www to /media/HD1/www and I have set the permissions on the entire hard drive to allow reading, and I still get a 403 forbidden error when I attempt to access my site, everything works when I just use the default path. I'm using Ubuntu 10.04 with apache2 installed through the package manager...

View 2 Replies View Related

Server :: Setting Default Path For VirtualDocumentRoot?

Jul 4, 2010

I have my server setup so I have to create the user account and directory structure for a domain, add the domain to the httpd.conf file, but then I can create subdomains by adding a folder.

This is my config:

Code:
<VirtualHost *:80>
ServerName brandonwamboldt.ca
ServerAlias www.brandonwamboldt.ca brandonwamboldt.com www.brandonwamboldt.com

[Code].....

View 1 Replies View Related

Ubuntu :: How To Remove Ask Search Engine That Installed Itself As Default

Mar 11, 2011

I found that "ask search engine" installed as default web search engine instead of google in firefox. Now it's impossible to go back to google search engine as "ask" always remains as default search and no other search engins are shown in the firefox list.Any idea about how to get rid of "ask"? I managed to install another "unofficial google" search plugin but if i click on restore default search engine "ask" will be restored.

View 9 Replies View Related

General :: Change The Default System JVM Search Order?

Jan 25, 2011

I have installed java-6-sun on my Ubuntu 9.10 and now I wanna change the default system JVM search order. Based on the following instruction I should modify my /etc/jvm.

But there is no jvm in my Ubuntu, all I have is jvm.* which "*" refers to ".h" or other suffix. There is no "jvm" alone in my Ubuntu in order to do what the following says.

Setup the default Java version

Ubuntu Linux comes with update-java-alternatives utility to updates all alternatives
belonging to one runtime or development kit for the Java language. To select, Sun's JVM as provided in Ubuntu 7.10, enter:

$ sudo update-java-alternatives -s java-6-sun

You also need to edit a file called /etc/jvm This file defines the default system JVM search order. Each JVM should list their JAVA_HOME compatible directory in this file. The default system JVM is the first one available from top to bottom. Open /etc/jvm

$ sudo vi /etc/jvm

Make sure /usr/lib/jvm/java-6-sun is added to the top of JVM list

/usr/lib/jvm/java-6-sun

View 2 Replies View Related

Debian Configuration :: Overwrite The Default $PATH Variable

Jan 18, 2011

Some idiot (namely me) managed to overwrite the default $PATH variable for a Debian box of mine. I think I've successfully recreated it:

[Code]..

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved