Search Results

Search: Posts Made By: BrandonShw
2,274
Posted By BrandonShw
My customers are running on every conceivable...
My customers are running on every conceivable configuration. One way to hibernate would be to give the command:

pm-hibernate,

but it only works if pm-utils are installed. One way or...
2,274
Posted By BrandonShw
Doesn't seem to have much to say about how to...
Doesn't seem to have much to say about how to activate ACPI, which is what I am after. Most of what I try, e.g. pm-utils, is only present on the occasional system.
2,274
Posted By BrandonShw
Hibernate and Suspend
I have a C++ program which ends up getting run on every conceivable distro. What I can't do in C++, I can do by shelling out to the O/S. I am trying to find a portable way to send the system into...
Forum: Red Hat 10-20-2011
2,255
Posted By BrandonShw
When I say display, I mean that I set up accounts...
When I say display, I mean that I set up accounts for a few people and they log in remotely by "some method" which is provides a graphical session. The purpose is to enable me to test features of my...
Forum: Red Hat 10-20-2011
2,255
Posted By BrandonShw
Multiple Users
I need to have more than one user logged into my PC's VMWare Linux virtual simultaneously, each seeing a graphical display, to test my software's ability to affect their displays one by one. I have...
Forum: Programming 09-08-2011
2,957
Posted By BrandonShw
I took a look with "free -m" and the situation...
I took a look with "free -m" and the situation looked entirely different. Also, I found the true cause of that one system crash and it had nothing to do with memory. My program was going through...
Forum: Programming 09-08-2011
2,957
Posted By BrandonShw
I was judging free memory from: grep...
I was judging free memory from:

grep MemFree /proc/meminfo
Forum: Programming 09-07-2011
2,957
Posted By BrandonShw
Shelling Out to Give a System Command Drains Free Memory
I am working on a large program which is always up and must run in as many Linux flavors as possible, i.e. be portable. I have created a number of general utility functions for common tasks it needs...
Forum: Programming 07-15-2011
48,581
Posted By BrandonShw
Do you mean that using libssl.a will work, even...
Do you mean that using libssl.a will work, even though -lssl, which presumably chose the shared version, didn't?
Forum: Programming 07-15-2011
48,581
Posted By BrandonShw
When I try to link to libcrypto.a, it complains...
When I try to link to libcrypto.a, it complains that RSA_generate_key and DH_generate_parameters are undefined references. I am including "-lssl."

If this had worked, I would have next tried...
Forum: Programming 07-07-2011
14,208
Posted By BrandonShw
Thanks. By the way, I was incorrect when I said...
Thanks. By the way, I was incorrect when I said that I went into the lib sub-directory. I used the make command at the top level.

---------- Post updated at 03:07 PM ---------- Previous update was...
Forum: Programming 07-07-2011
14,208
Posted By BrandonShw
I have downloaded and untarred the curl source. ...
I have downloaded and untarred the curl source. I simply go to the lib sub-directory and enter "make." Everything works well, a libcurl.a is produced, and when I try to use it with g++ -static, I...
Forum: Programming 07-07-2011
14,208
Posted By BrandonShw
I did use -ldl. I presume that it links in...
I did use -ldl. I presume that it links in libdl.a. But after that it still complained about numerous undefined references. A small fraction is:
...
Forum: Programming 07-06-2011
14,208
Posted By BrandonShw
Even the Static cURL Library Isn't Static
I'm writing a program which uses curl to be run on Linux PCs which will be used by a number of different users. I cannot make the users all install curl on their individual machines, so I have tried...
Forum: Programming 07-05-2011
48,581
Posted By BrandonShw
Here is the result: g++ -o Encode...
Here is the result:

g++ -o Encode Encode06.o libcrypto.a

libcrypto.a(fips.o): In function `FIPSCHECK_verify':
(.text+0xafb): undefined reference to `dlopen'
libcrypto.a(fips.o): In function...
Forum: Programming 07-03-2011
48,581
Posted By BrandonShw
Thanks, guys. I think I'll try to treat...
Thanks, guys. I think I'll try to treat libcrypto.a as though it were one of my object files. I hope that something works soon, because otherwise, I'll have to find the libcrypto source and include...
Forum: Programming 07-01-2011
48,581
Posted By BrandonShw
Actually, I downloaded libcrypto.a and then...
Actually, I downloaded libcrypto.a and then wrote:

g++ -o MyProg -lxxx -lyyy -lzzz -Bstatic -lcrypto

yet when I went to run it on another box, it still complained that it couldn't find...
Forum: Programming 07-01-2011
48,581
Posted By BrandonShw
Thanks, but I have one point of confusion. How...
Thanks, but I have one point of confusion. How can I make this apply only to the one library libcrypto and not to any of the others in the list?
Forum: Programming 07-01-2011
48,581
Posted By BrandonShw
Thanks. Can you give me an example of what the...
Thanks. Can you give me an example of what the command would look like?
Forum: Programming 07-01-2011
48,581
Posted By BrandonShw
Linking in OpenSSL libcrypto Statically
I have a C++ program which includes lots of libraries, including openssl libcrypto. In fact, the g++ switches are:

-lxml2 -lcrypto -lcurl etc.

The problem is that when I try to run it on a...
3,290
Posted By BrandonShw
I tried "-U nestcape," "-U Mozilla," and "-U...
I tried "-U nestcape," "-U Mozilla," and "-U Mozilla/5.0."

As the referer, I used the page that one would download it from manually. I also tried just the site address.

That is, I tried both...
3,290
Posted By BrandonShw
I see, so the server may be employing some type...
I see, so the server may be employing some type of security based on header information, which could be changed with the -U and --referrer options. I will give it a try Monday morning. Thanks.
...
3,290
Posted By BrandonShw
Thanks, but I am not using a browser at all. I...
Thanks, but I am not using a browser at all. I am trying to do this in a shell script, or, actually, at this stage, just by typing it in at the command line. What is a referrer?
3,290
Posted By BrandonShw
How Can I Run an Aspx Page From Shell?
There is an aspx page which, when accessed with certain parameters in the URL, downloads a file. I need to do this with a shell script. I tried using wget, but I get a response of 302 from the...
9,612
Posted By BrandonShw
Thanks.
Thanks.
Showing results 1 to 25 of 33

 
All times are GMT -4. The time now is 09:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy