Programming :: Launching Application With Compiled .so Files Instead Of Installed Ones?
Dec 12, 2010
I am debugging a project and I noticed the .so files from my installed version of this project are being used when I run the main executable. However what I want is that the modified and compiled libraries (.so files) are being used. This is for testing the software. So I don't want to install these. I tried adding the directory with the .so files in /etc/ld.so.conf and doing ldconfig. However that did not seem to work. How can I let the main executable use the modified .so? I also want to debug this using gdb, so if someone knows what I should do to get those modified .so files being used for execution.
View 5 Replies
ADVERTISEMENT
Jun 11, 2009
I am currently taking a Java class and I am not understanding it very well. I have compiled the following program, but it will not give me any data back to where I input the employee name, hours, rate. Can you look it over and tell what I am missing? I have been working on this for about 7 hours now and I have been reading and researching and just can not seem to know what is missing.
public class Employee
{
public static void main( String args[] )
[code]...
View 4 Replies
View Related
Feb 28, 2011
after installation of a s/w for authentication from my ISP I couldnt launch the same and the following msg appears
pradipta@linux-auem:~> sudo sifyconnect
root's password:
pradipta@linux-auem:~>
(sifyconnect:5062): Gtk-WARNING **: cannot open display:
View 5 Replies
View Related
Oct 16, 2010
I installed Ubuntu 10.10 on a clean drive afyer an issue with 10.04 I couldn't resolve. The attched screen shot shows the error that happens when I launch Firefox. WHat is it, and how do I correct it. I can't find a setting for SSL or anything that might be turned off in firefox, so I guess it's an UBUNTU thing?
View 3 Replies
View Related
Jun 8, 2011
I wanted to launch sqlite3 with the command:
xterm -e sqlite3 /path/to/database "SELECT * FROM TABLE;" &
The xterm window flashes for a moment and then terminates. Exactly the same result is encountered with:
a) xterm -e /bin/bash -l -c "sqlite3 /path/to/database "SELECT * FROM TABLE;"" (as suggested in man xterm)
b)giving an alias in .bashrc to:
sqlite3 /path/to/database "SELECT * FROM TABLE;"
and running: xterm -e alias
c)giving: xterm -e echo "something"
d)using: konsole -e sqlite3 /path/to/database "SELECT * FROM TABLE;" &
If a launch sqlite3 with:
xterm -e sqlite3 /path/to/database &
The xterm window launches with no problem and sqlite3 opens the database as expected. If I enter "SELECT * FROM TABLE;" every thing works as expected and I get the correct result.
The same applies if I launch xterm with: xterm & and then: sqlite3 /path/to/database "SELECT *FROM TABLE;" to the command line.I sometimes use xterm -e to launch applications to a separate window and never had the slightest problem. I suspect it might be a bash thing (konsole and echo not working as well as above stated) and not an xterm thing. I made a search in man bash for quoting and backslashing but it didn't bright up things.
View 2 Replies
View Related
Feb 12, 2011
When I try to launch application which runs in another window (not inside shell), it always fails with this kind of message: (example from gnome-terminal)
Code:
** (gnome-terminal:2477): WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported Failed to get the session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Falling back to non-factory mode. Failed to summon the GConf demon; exiting. Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See [URL] for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) I am running it as root, have GNOME installed and running, and also fresh install of gconf.
View 8 Replies
View Related
May 22, 2010
I recently had to reinstall ubuntu, so I backed up both my ~.gnupgp and ~.gnome2 folders and copied them over in the new installation. My old keys show up just fine in the password manager, but when I attempt to open a file encrypted with one of them, I get the error: "Could not display (name of file): There is no application installed for PGP/MIME-encrypted message header files"
View 1 Replies
View Related
Apr 26, 2011
I am using gnome 3 and I installed neverputt from the repos, and when I click the icon in applications, it doesn't launch. Running it from the terminal gives:
Code:
Command 'neverputt' is available in '/usr/games/neverputt'
The command could not be located because '/usr/games' is not included in the PATH
[code]....
View 6 Replies
View Related
Jan 26, 2009
How can i change the icons that shows launching an application? Resolution of these icons is very low and it would be nice to change this icons.
View 1 Replies
View Related
Aug 16, 2010
I'm using fedora8.I installed spark on my machine,when i launch that through terminal,it is opening perfectly.But when i open application launcher or creating custom application on panel it was not working.All other shortcuts like,thunderbird,firefox are opening except spark.
View 1 Replies
View Related
May 24, 2010
I have installed Redshift But do not know what to do Next.There is no icon for the application or anything to launch the application.
View 1 Replies
View Related
Apr 25, 2010
How come the program is compiled without errors but I can't run it?After writing
Code:
./program
blank line appears only.
View 5 Replies
View Related
Feb 28, 2010
11.2 KDE 4.3.5
keep getting this error when trying to download RPM files and launching them.
KLauncher could not be reached via D-Bus. Error when calling start_service_by_desktop_path:
Not connected to D-Bus server
View 4 Replies
View Related
Oct 27, 2010
Seems like I'm having a problem with libpng. I've created a simple SDL app and last night it worked perfectly. Today, I tried it out again and it gave me this error.
Code:
libpng warning: Application was compiled with png.h from libpng-1.4.3
libpng warning: Application is running with png.c from libpng-1.2.44
libpng error: Incompatible libpng version in application and library
I didn't mess with anything related to libpng and I'm not sure what the problem is. I didn't even know I had libpng-1.2.44 installed. I'm not sure if this is an SDL_image problem or libpng or if it's just my path is wrong.
View 3 Replies
View Related
Jul 25, 2011
The rpm command to get all the list of all installed file location after rpm installation is rpm -ql <rpm file-name>
View 7 Replies
View Related
Feb 9, 2010
I've created a QT interface with some buttons and labels, and i want to launch a terminal command with one of these buttons,but the command maust starts with "sudo",unfortunately it didn't work because it wants root password and i can't enter it even in the Button cammand....
View 6 Replies
View Related
Jul 27, 2009
I've compiled some code which I've given to other people, however when they try to run it they get segemtation fault. After some testing I've found if it's ran from root (where I compiled it) everything works, if I try to run from a user there's a fault.
View 3 Replies
View Related
Aug 31, 2010
i'm trying to spawn a daemon-like java process from php on a unix environment, keep the pid for reference and keep it completely independent from httpd processes. I'm using the following code
$command = 'java -cp /myApp/ MyApp';
exec('nohup '.$command.' >> /myApp/myLog.txt 2>&1 & disown & echo $!', $pid);
$pid = (int)$pid[0];
But it gets killed when you httpd restart. I just want it never to get killed except if i call "kill $pid" command.
More Info: [URL]
View 2 Replies
View Related
Jun 20, 2011
Player-Stage uses .cc files. I know how to compile them. But how do I actually execute my code? There is an output file generated. There is nothing in the .cfg file or in the .world file that specifies what program to use to run the robot. Or is it not specified in the world or cfg files?
Then how to make the robot obey my compiled .cc file? If this question is silly or if I am asking stupid questions
View 5 Replies
View Related
Oct 13, 2010
I want to have a script (tcsh/bash/python) that launches a bunch of gnome-terminals (or 1 with multiple tabs). And I want it to execute a command, but keep the shell interactive. Currently, if you type gnome-terminal then it launches a new interactive shell, but if you give it the execute flag, then it executes the command and quits (or stays open, but non-interactive depending on the users gnome-terminal settings).
I have this command which I want to run automatically before I start working. What the command does is dynamic and different for each shell. It takes arguments. So it's not something I can take care of in a .cshrc type file.
View 3 Replies
View Related
Oct 14, 2010
The new 2.6.35.7 kernel fails to boot on my Lenovo laptop. I had previously compiled a 2.6.35 kernel with a couple of different .config files and never had it boot properly. The failure occurs very quickly and I am including the final screenshot in case that helps.
View 7 Replies
View Related
Mar 8, 2011
Yesterday I burnt a couple of CD's with Brasero. Project completed successfully. But.. now if I try and open Nautilus and go to any of my folders under Places>Home/Music/Documents, in fact anywhere, it goes straight into Brasero and seems to think I have an uncompleted project. There is also a box open which promts me to rename/not rename for full Windows or Linux comaptabilty. As of right now I cant get rid of Brasero and get to any folders/files.
View 6 Replies
View Related
Feb 25, 2011
I need to modify fs/open.c and fs/read_write.c to make my modifications. I cannot find any options in 'make menuconfig' to make these files modules rather than compiled elements. I'm thinking these cannot be modules because the file system won't work without open.c and read_write.c. Is this correct - I cannot compile fs/open.c and fs/read_write.c as modules, only as compiled elements? Or, is there some way for a module to overwrite these routines when the module is installed and re-enable the routines when the module is removed?
View 3 Replies
View Related
Nov 15, 2010
as an absolute newbie I downloaded my first application. RealPlayer11GOLD.rpmFrom info on this forum, I managed to install the package with the rpm command as root on openSuSE 11.1When done, it said finished.But now I cannot find the player. Where do I go wrong?
View 9 Replies
View Related
Jan 12, 2011
I have bought an external usb hard drive on which I back up my three computers every once in a while.Space will quickly be used up.I can't find that little bit of research that I need yesterday.Here is what I would like to find:An application that eliminates doubles in identical files and renames files that have changed by appending the last saved date yyyymmdd to the file name.Does such an application already exist?
View 6 Replies
View Related
May 21, 2011
On Windows I've been using XMPlayer for that purpose. XMPlayer has got a rar plugin and it works as expected.I stumbled across this plugin for Audacious but I'm not sure it's relatedhttp://kittylambda.com/rsn_plugin_for_audaciousI've ran XMPlay succesfully with wine with the rar plugin and it actually works (a bit slower but it works). But what I'm missing is integration with nautilus since drag and drop won't work from nautilus to XMPlayer. I have to navigate to the rar file manually on the file-open window and since Nautilus puts it's mounts on /home/[username]/.gvfsit's a bit cumbersome.
View 9 Replies
View Related
May 17, 2009
I have a program that is completed under Linux, it requires library tidy, PCRE and libcurl, which could be found in Cygwin too.
I could compile my linux program through Cygwin and produce an EXE file, however it do require 'cygwin.dll' installed by the users.
I am wondering if I could have someway to produce out a stand-alone EXE file that could run independently from Cygwin ? ( I don't mind to combine that cygwin.dll and the EXE together for a larger EXE file).
View 1 Replies
View Related
Jun 2, 2010
I installed wally using the terminal on Lucid, but there is no Applicarion icon on the applications menu, not in graphic, not in accesories....not in sustem/preferences.
View 9 Replies
View Related
Nov 23, 2010
I am a beginner Ubuntu 9.10 user. I downloaded and installed the latest version of the sun VirtualBox. My problem is I cannot find where it is installed and that's why I could not run it. Generally, when I install a program the shortcut appears in the menu "Applications->ClassOfInstalledFile". But Virtual Box did not appear. How to find the icon, or simply how to run this application and have a shortcut of it on the "Applications" menu?
View 1 Replies
View Related
Feb 26, 2011
A friend installed QCad. All seemed well but he cannot find the app in the Applications menu under any category. Strange thing is, the Software Centre shows that it is installed. How can he run it if it does not appear in the Apps menu?n it be run from the command line?
View 4 Replies
View Related