General :: Use A Newly Compiled Dynamic Linker?
Feb 16, 2011
install a newly compiled linker as the default linker on my VM running Ubuntu. I compiled and installed a new custom kernel on my VM (linux-2.6.36) and also compiled (not install) a custom gnu c library (glibc-2.11.2) on the newly installed custom kernel. I am able to run a simple helloworld.c program to verify that my program worked successfully using the newly build dynamic linker in the /elf directory.
I want to replace the real linker inside /lib with the new linker that I compiled. I tried to make the soft link named ld-linux-x86-64.so.2 that originally points to the real linker file ld-2.11.1.so, point to my newly compiled linker, but my VM crashed. I also tried moving the compiled linker and wrote it over the original linker, and the VM crashed. None of the commands worked after that as they could not access any of the shared libraries and I received this error '/bin/bash: No such file or directory'. I also tried to change the LD_LIBRARY_PATH to point to my linker and did not have any luck there either.
View 2 Replies
ADVERTISEMENT
Jun 9, 2011
I have been trying to build linux from source code and run it from my machine (intel platform).
Here's what I did:
Code:
I am using Grub2. When I rebooted the new kernel was in the grub list all right. But booting from that kernel fails with no errors or warning. The screen just goes blank. The disk usage indicator LED also doesn't glow which I guess means that the kernel isn't being read from the disk. I rebooted using my older kernel and it booted properly. Then, when I listed my /boot directory, I noticed that there was no initrd.img for 2.6.39. kernel in there, which I think is the problem.
View 9 Replies
View Related
Dec 12, 2009
I want to restrict the Visitors to my Webserver whom i want to give access But the persons whom i want to give access. have Dynamic IP. I want to use DynDNS and update IP address of person. Based on the Hostname Pointing to Dynamic address of person.
View 5 Replies
View Related
Aug 16, 2010
how to identify freshly installed linux o/s
View 7 Replies
View Related
Aug 1, 2010
Kernel 2.6.21.5, Slackware 12.0 Mplayer 1.0rc2-4.1.2.
I have compiled and installed the mplayer tarball and I have disposed of both the tarball and its contents. There was the option to compile either for the physical console alone or for both this and the GUI. And I really don't remember which one I did choose.
View 7 Replies
View Related
Jan 31, 2011
I am very new in c programming. I could not get a simple compiled program to run,I am using Fedora 14. To learn the correct way I sign in to and fallow the examples listed they all compile and generate the executable file but none run.To run them I try both way double chick the executable end on the command line but it does not do any thing.
View 10 Replies
View Related
Dec 17, 2010
i added a new system call..helloworld...
i rebuild the kernel and when i try to use it, it is returning -1.
can any one tell me how to debug and know where things went wrong..
how to see the kernel log when this syscall is called...i wrote a println in my syscall..but couldnt find that in /var/log/dmesg...
View 3 Replies
View Related
Jul 16, 2010
Recently I was trying to look into vmware pvscsi modules for newly announced linux kernel 2.6.35-rc2. I compiled the kernel with option: make oldconfig where it asked me for various interactive options and all I did is Kept pressing the Enter ENTER key(Donno if that is the correct way to slect default ).The Kernel Compilation anyway went fine and I can see new kernel at grub screen, booted and it went fine.Now when I explored I found that nor the vmware_balloon and vmw_pvscsi modules are present which means I need to install these modules.I came to know that recently a new version of the vmware memory drivers being included through this page:
[URL]
where you can see an entry like:
Code:
MODULE_AUTHOR("VMware, Inc.");
MODULE_DESCRIPTION("VMware Memory Control (Balloon) Driver");
-MODULE_VERSION("1.2.1.0-K");
+MODULE_VERSION("1.2.1.1-k");
Doesn't it mean that the new kernel has new driver version inboxed?Also, I tried to install modules through modprobe and insmod(seems that this doesnt work) but couldnt do that.
View 15 Replies
View Related
Jun 28, 2010
I am trying out Zenwalk Linux and so far love it. I have had to compile a couple of bits of software from source and don't know how I would update them when a new version comes out.The options are:1. Compile the new version and hope it overwrites the old one2.Uninstall the old version and compile the new.Option 2 feels safer but how do I uninstall a bit of software installed by compiling?
View 3 Replies
View Related
Jun 28, 2011
I was unable to compile a program that used libicu42 on Ubuntu 11.04, because Ubuntu 11.04 has only libicu44 and does not have libicu42 installed. So during compile time I used g++ prog.c -L mylib/ to compile the program. mylib had libicu42 (This library is a shared library and has the .so extension). The program compiled successfully, but when I tried to run it, it failed and complained that it did not find libicu42. So I had to manually install libicu42 in /usr/lib. Then the program worked.'ldd prog' revealed that it looked for libicu42 in /usr/libWhat was the point of specifying the library path using -L, if the compiled program looked for the library in /usr/lib? It's almost like it was just to satisfy the compiler.
View 3 Replies
View Related
Jan 22, 2011
i couldn't find anything on google. So here is my problem: It's Debian GNU/Linux. I installed apache2 a few weeks ago, but due to some work I couldn't go on installing further things. Today I installed php5 and mysql. Everything seemed to work fine. I loaded an existing MyBB Board and WordPress Site onto the server and imported the mysql db. I can open the sites and login. However, there are problems. I think my problems are due to the compiled modules. Some are missing. I checked several sites. They all give me this listing:
Code:
apache2 -l
Compiled in modules:
core.c
mod_access.c
[Code]...
What should I do? How can I get the missing modules? Do I have to install apache again (how? remove - install? install what?)? Step-by-step instructions would be kind, because I don't know a lot about unix systems.
View 3 Replies
View Related
Jan 13, 2011
I already have compiled the source and I want to make an rpm. What do i do with it? Can i utilize the make file?
View 1 Replies
View Related
Jan 18, 2011
I just have a short simple question. I download yukon a opengl Video capture software and tried to install it and I got it installed but I can't get it to function right. So figured I would uninstall it and ran "make uninstall" in the source and it gave me an error that is has nothing to do.
So this is my questions
if I did
Code:
$whereis yukon
#rm -rf /etc/yukon /usr/bin/yukon (and the rest of the direcories listed)
Would that work fine? for removing it from my system.
View 9 Replies
View Related
Feb 26, 2011
I compiled a kernel 2.6.37.1 and after compilation i am not able to boot with new kernel.
I am getting following errors
Alert :
View 2 Replies
View Related
Apr 30, 2011
I have just upgraded to 11.04 on my VirtualBox VM, and after I start it, it begins to load, but it stops at the line * Checking battery state... [ OK ]
I have tried the recovery mode, but to no avail. I can access the boot commands and the command line, but I have no idea what to do from either.
Before the above line, there is a highlighted line
* PulseAudio configured for per-user sessions
saned disabled; edit /etc/default/saned
View 1 Replies
View Related
Sep 30, 2010
i am facing a problem regarding permissions. how can i set 775 permission for all newly created files and folders. when i give chmod -R 775 /data permission is getting to all files and folders. but when i create a folder i wont get that permission. i want this 755 permission should be permanent for all old and newly create files
View 7 Replies
View Related
Sep 8, 2010
I have just installed fedora 13 onto my old PC. Everything is great apart from the fact that i cannot access the internet. My isp is TalkTalk, they do not support linux, and have suggested that i contact the Geek squad who might be able to help me for the princely sum of �30. i think that all that i need is the ip address for my Isp or something equally simple and my problem will be solved. failure to resolve this issue means that i might have to go back to windows.
The machinery that i have is an emachines 3210, 2.70 GHz, a Dlink wireless router, i am using a cat 5 cable plugged directly into the back of the pc, i am using fedora 13. ps my son is using windows and is connected to the internet still via WiFi.
View 5 Replies
View Related
Aug 24, 2010
How can I add KDE desktop environment in newly installed 'moonOS-3'.
View 2 Replies
View Related
Jan 25, 2011
How to do a clean install onto a newly formatted drive
View 3 Replies
View Related
Feb 8, 2011
I installed SLES11 SP1 on my machine. It is available with kernel source in /usr/src/. I built another kernel with this source. New kernel image and initrd are available in /boot. But the newly build image is not getting booted up.
View 3 Replies
View Related
Jan 14, 2011
For every program I've installed, I can see an icon in the applications menu. But, I'd like to be able to find the actual icon so I can use it on panels and such in gnome.
Is there a standard place where icons from the applications menu are found?
View 1 Replies
View Related
May 28, 2010
I'm currently trying to get a windows compiled program to work through Wine to run on Linux and MacOSX.
When I run the program through wine, it prompts me to install Gecko which I do. Later on in the program, it attempts to use MSHTML to render HTML but I get these error messages on my console instead.
err:mshtml:init_xpcom NS_InitXPCOM2 failed: 80004005
err:mshtml:HTMLDocument_Create Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
fixme:ole:CoCreateInstance no instance created for interface {00000000-0000-0000-c000-000000000046} of class {25336920-03f9-11cf-8fd0-00aa00686f13}, hres is 0x80040111
I'm using Wine 1.1.34 and a similar bug was supposedly fixed in 1.1.33 [URL]
View 3 Replies
View Related
Jan 20, 2011
I compiled my own kernel with tun/tap and bridge support. Both modules load fine at boot time (I could read that in the dmesg output). Now I want to use it, and the /dev/net/tun node is not there, so my application gives that error. I'm trying to bridge openvpn connections. Is it possible that udevd is not doing his work?
PS: I'm on a WD MyBook World Ed NAS device. It's ARM, so I cross compiled the kernel from my debian linux machine. I also installed debian on the NAS.)
View 1 Replies
View Related
Mar 19, 2011
About a month ago, I decided to go deeper in my Linux knowledge. I've been reading a lot and found out that Arch linux would be my learning distro. As I was installing Arch, it was a pain at first but I really learned a lot which I would never ever learn with Mint. Now I decided to take a step further is which "compiling your own kernel".
MY PROBLEM:
Everything was smooth in my Arch for a 2 weeks until I decided to compile my own kernel. I currently have a Nvidia GTX 460 1GB card.
BTW, the method I used to install nvidia with 2.6.37 was
Code:
pacman -S nvidia nvidia-utils
and that worked with all of the .37 kernels (-1 -2 -3 -4) which was download from kernel.org.
When I compiled the .38 (using the same .config of .37), it just boots up to the terminal (not loading gdm). However, I could still login by typing my username and password. So I've checked dmesg of both .37 and .38 and noticed that the Nvidia driver is not loaded in .38.
I tried reinstall it by running pacman and it doesn't do anything. It was thinking of uninstalling nvidia and nvidia-utils but there are so many dependencies conflicts (like screensaver, compiz, etc).
Since, I didn't want to mess up my .37 install, I just grabbed an old HDD and installed from scratch again. This time, I compiled the .38 kernel first (without gui) and then installed nvidia nvidia-utils. It was the same problem.
With this observation, I'm concluding that the nvidia and nvidia-utils from pacman is not compatible with .38.
I've read that I have to wait for nvidia to release a driver that will be compatible with the .38 kernel. Is that true? Does it mean I have to wait for nvidia/nvidia-utils to be updated from pacman? How would I know when it is updated?
I've also read about nouveau, but I guess that is not for me because it doesn't support 3D.
Is there a work around for me to use nvidia/nvidia-utils with .38?
Is nvidia and nvidia-utils proprietary drivers? What is the difference with these two and the one you download directly from nvidia?
First of all, I apologize for the bombardment of questions. As you can tell, I'm so clueless on how nvidia drivers work on linux in general (since it was spoon fed by mint) and I really would love to learn about this is a deeper level. Could someone please explain to me (LAYMANS terms) how nvidia works (and possibly a solution to my issue).
EDIT: Additional info - I have a netbook that also runs arch. It uses an Intel GMA integrated video chip which I used "xf86-video-intel" from pacman and I believe since it is open source, it works with .38 fine. So does that mean if you use an open source driver, it will work with all other kernels?
View 6 Replies
View Related
Feb 14, 2010
I setup a HTPC about a month ago, and just expanded my storage by adding two 750GB drives in addition to my OS drive. I am using Ubuntu 9.10 as my OS and need help setting up a raid 1 on the two 750GB drives.
gparted shows the two drives as /dev/sdb and /dev/sdc
View 2 Replies
View Related
Jan 22, 2011
Just installed Linux (Ubuntu 10.10-net book-i386) on an acer 5310 laptop, everything is working great except for the internet. Google home page takes over a minute to load on Firefox, the actual search results takes only a second but then it takes 2 or 3 minutes to load any site i click on. I have broadband, only 1mb, but it worked perfect on the previous OS, also using Firefox.
View 9 Replies
View Related
Jan 7, 2011
I had created 4 partitions of my 320 gb harddrive.
First 40 gb was reserved for xp , next 4 gb was swap partition , next 20 gb was linux main partition, and after it there is free space. I first installed linux on 3rd partition. I later installed win xp on the first partition. My laptop directly boots in xp . I don't see Debian listed even after pressing F8.
How do I re-access debian linux ?
View 4 Replies
View Related
May 11, 2011
just a quick question. I was wondering if it is possible to do the following: suppose there is a www and it contains 3 pages: aboutus.php, index.php and contactus.php within each side there are 3 other pages you could say 1*.php,2*.php,3*.php, where * stands for any of {aboutus,index,contactus}. I was wondering how, if it is possible, to implement the following mechanism.
If users requires 2a.php go to aboutus/2aboutus.php or if it is 1i.php then go to index/1index.php. What this does it translates addresses that user requires into the original links that are stored at the server. Then, if I want to change the translation I just change the naming convention say 22a.php or 11i.php and updates my mapping mechanism. Is it possible to implement it with mod_proxy_http ? so that you could dynamically (at once, without restarting apache and without any delays) change this mapping to whatever you want ? maybe there is another module I should look at ? Or shall I implement it myself?
View 2 Replies
View Related
Jul 25, 2011
I have comcast xfinity high speed dsl, with a dual boot win2000/opensuse 10.3 system. I'm connected in win2000, but I can't quite figure out how to configure comcast's dynamic ip address' in opensuse 10.3, either on command line, or in KDE with YAST (scream on the latter attempt).
I've looked up all man pages on ip cpnfig, but the problem is that my last internet connection was through a router with a static ip address, and I can't quite figure out the shell command from man pages ( I've tried dozens of combos like ip addr [change] {dynamic|on} etc. from what I could gather from man page instructions, but I can't seem to get the dev object and options worded just right), and I'm about ready to throw my monitor at the wall during every YAST attempt (and of course YAST doesn't pick up my dsl automatically and why it's asking for a comcast userid upon manual entry I haven't the slightest).
View 11 Replies
View Related
Oct 30, 2010
A C program which compiled well in Dev CPP compiler is not compiling in Linux-Fedora.It shows the following error message/tmp/ccy02C6e.o.eh_frame+0x12):undefined reference to '__gxx_personality_v0'collect2:ld returned 1 exit status
View 2 Replies
View Related