../lib/.libs/libcurl.so: undefined reference to `SSLv2_client_method’
I was trying to install hiphop-php, and while compiling curl, ran accross this issue
../lib/.libs/libcurl.so: undefined reference to `SSLv2_client_method'
So I went over to github and fixed my file. Their new file is here
https://github.com/bagder/curl/blob/26b487a5d6ed9da5bc8e4a134a88d3125884b852/lib/ssluse.c
So if you edit your own file, around line 1457, you will see a line that looks like this(github line 1461):
case CURL_SSLVERSION_SSLv2:
....
break;
Change your case/break statement to only contain what is in the following snippet
#ifdef USE_TLS_SRP
if (data->set.ssl.authtype == CURL_TLSAUTH_SRP)
return CURLE_SSL_CONNECT_ERROR;
#endif
#ifdef OPENSSL_NO_SSL2
failf(data, "openSSL was compiled without SSLv2 support");
return CURLE_SSL_CONNECT_ERROR;
#endif
req_method = SSLv2_client_method();
use_sni(FALSE);
Shazam! Good luck curling!
Installing Zend Server Community (Zend CE) on Ubuntu 11.10 [Tutorial]
First, you need to add the Zend Key to your Aptitude (So you can use their repository), and for this we need root.
Enter Sudo Console
sudo bash
Add the key to our local key storage (Zend's key was unavailable, so I put one on my server.. Got it from pastebin
wget http://anebg.net/zend.key -O- | sudo apt-key add -
After downloading the download script from zend,
http://www.zend.com/en/products/server-ce/downloads
Extract it,go to the directory where you extracted it on the terminal and Install Zend CE for PHP 5.3
./install_zs.sh 5.3 ce
TCPDF returns an empty page with just the headers when writing HTML
First, make sure your HTML is valid.
Second, make sure your encoding is true to what your TCPDF construction, for example :
$pdf = new TCPDF('L', PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
Is creating a UTF8 pdf document. So, before you pass in your $html variable, utf8 encode it.
$pdf->writeHTML(utf8_encode($html), true, 0, true, 0);
I use it in a site where lots of users input pasted text from MS Word, and it seems that it comes with a bunch of weird characters that break TCPDF, utf8 encoding fixed a bunch of seemingly 'random' blank generated PDFs.
doubleTwist Download Failed. Please verify that you are connected to the internet. Reason: resolving hostname
This is either because of a proxy or doubleTwist's failing servers.
You can get the full installer from here:
http://download.doubletwist.com/doubleTwistSetupFull.exe
Good luck and try out AirSync!
How to remove preinstalled apps on Xperia X10 Mini Pro
With this tutorial you will be able to remove stock apps that come when you buy your phone(goldrush, wisepilot, creatouch, roadsync) for this you need to root your phone (If you haven’t –follow this simple guide).
Then…
Open the shell by running “adb shell” on your command prompt.
adb shell
Change directory to /system/app
cd /system/app
List the currently installed apps
ls
And to remove an app, run the command
rm –r [appname].apk
The apps I uninstalled were:
rm -r rollercoaster.apk
rm -r peggle.apk
rm -r california-gold-rush.apk
rm -r roadsync.apk
rm -r creatouch-2.apk
And that is it… (Simple, right?)
Make sure to not uninstall system-wide apps such as Timescape or Homescreen, as this may break your android and you might have to reinstall stock firmware and start all over again…)
.htaccess allow/deny rules for subnet
AuthName "CIRC Under Maintenance"
AuthType Basic
<Limit GET POST>
order deny,allow
deny from all
allow from 216.249.119.
allow from 216.249.123.120
</Limit>
Allow 216.249.119. Works for all the addresses which begin in 216.249.119.
Allow from 216.249.119.120 Adds a different IP from a different subnet.
Install pdo_mysql on CentOS
I tried installing it by runing pecl install pdo_mysql but I got this error:
configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. ERROR: `/root/tmp/pear/temp/PDO_MYSQL/configure' failed
The problem is that the /tmp and /var/tmp directories are noexec, which prevents pecl build scripts from running.
Here is what can be done to resolve the problem (assuming root account)
mkdir /root/tmp.pear
mkdir /root/tmp.pear-build-rootrm -rf /tmp/pear*
ln -s /root/tmp.pear /tmp/pear
ln -s /root/tmp.pear-build-root /tmp/pear-build-root
pecl install pdo_mysql should now work.
InterVideo WinDVD BD for VAIO
4/30/10- Post updated. Read the last paragraph before venturing in.
I recently upgraded to Windows 7 through my school’s MSDNAA program. For all my drivers, I used Windows Update and everything pretty much worked out of the box. However, recently, my friend bought a 50” HDTV and we wanted to test it out by using my laptop’s (VGN-FW270J) Bluray drive. I looked all over in Sony’s Drivers & Downloads site but All I could find was updates and not the installer. I called Sony and they straight up told me that they didn’t support Win7 until Oct 22nd and that if I wanted to play Bluray without spitting out some cash, that I had to reformat using my recovery partition(which I luckily didn’t format while installing Win7). I looked all over the web for a solution and I couldn’t find any so I took matters into my own hands. I booted up Linux and crawled through the recovery partition and bumped across some files that looked like installation files that were compressed in some way (.MOD). I did some looking around and it turns out that there is a program called Mod2WIM, which temporarily displays your hidden recovery partition and copies over all the installer files (mod & sny) and then converts(unlocks) them to be WIM, a format that is used by Windows to pack / mount installers. After mounting a couple (using gimagex – a graphical inteface to the imagex program that is included in the mod2wim download) , I found WinDVD BD, which was file “MODJ-128993.wim”. After mounting, I just opened the setup.exe file and voilà! The installer popped up.
So If you have a Sony VAIO Notebook computer which comes with WinDVD BD preinstalled and wishes to play Bluray without reformatting or anything crazy like that, go ahead and download it here.
And if you wish to install some of the other software that comes preinstalled which your computer, here is the software I used and some explanatory screenshots.
Mod2WIM [Download] ( Click to enlarge )
ImageX [Download] (GUI Version GImageX) ![]()
The files I were able to obtain from my partition were:
437M MOD-Quickbooks_Starter_Edition.no_3.wim
435M MOD-VAIO_Movie_Story.no_35.wim
312M MOD-OneCare.no_36.wim
307M MOD-Office_2007_Home_and_Student_Trial.no_6.wim
300M MODJ-126940.no_15.wim
252M MOD-MS_Works_Bundle.no_5.wim
190M MODJ-126695.no_17.wim
189M MODJ-128993.no_31.wim
180M MOD-Music_Box.no_34.wim
161M MODJ-126708.no_26.wim
137M MOD-VAIO_Help_and_Support.no_48.wim
90M MODJ-126813.no_24.wim
68M MODJ-126259.no_7.wim
65M MOD-VAIO_Media_Plus.no_40.wim
46M MODJ-126696.no_20.wim
46M MOD-AOL_Software.no_47.wim
44M MOD-Wireless_Connection_Utility_EVDO.no_46.wim
29M MODJ-126299.no_9.wim
20M MODJ-126885.no_21.wim
19M MODJ-126296.no_8.wim
18M MODJ-126887.no_28.wim
16M MODJ-127038.no_25.wim
16M MODJ-126883.no_22.wim
12M MOD-Napster_Pre_Install.no_32.wim
12M MODJ-126880.no_23.wim
8.5M MOD-VAIO_OOBE_And_Welcome_Center.no_49.wim
7.7M MOD-VAIO_Care.no_50.wim
6.8M MOD-MS_Office_2007_Activation_Assistant.no_33.wim
6.8M MODJ-126798.no_19.wim
6.1M MODJ-126955.no_14.wim
5.6M MOD-VAIO_Wireless_Wizard.no_41.wim
5.1M MODJ-120274.no_2.wim
4.8M MODJ-126894.no_13.wim
4.6M MODJ-126779.no_12.wim
3.7M MOD-CSUP.no_39.wim
3.2M MODJ-128897.no_30.wim
2.9M MODJ-126728.no_27.wim
2.7M MOD-VAIO_Startup_Assistant.no_45.wim
2.2M MODJ-126943.no_18.wim
2.2M MOD-Documentation.no_44.wim
2.2M MODJ-126957.no_16.wim
2.0M MOD-VAIO_My_Memory_Center.no_11.wim
1.7M MOD-VAIO_Survey_Standalone.no_43.wim
1.7M MOD-Media_Center_User_Guide.no_4.wim
1.5M MOD-SetAutoFailover.no_42.wim
412K EPC-RenewCPU.no_51.wim
304K MOD-Registration_Warranty.no_10.wim
184K MOD-Puma.no_37.wim
128K MOD-OEM_Information_Registry_Settings.no_38.wim
16K MODJ-128994.no_29.wim
4.0K MOD-PowerPlay_Setting A.no_1.wim
*Update* 4/30/10 – Sony eSupport site finally caught up to Windows 7. As of January of 2010, they have put up the installer for (at least) my model. You can grab the installer from their site:http://esupport.sony.com/US/perl/swu-list.pl?mdl=VGNFW270J&SelectOS=45#div_pos_113 and expanding the ‘WinDVD sofware’ dropdown. My model is in there, you can change it to see if you can find yours.
I hope this helps out somebody out there.. and if you find it useful; don’t forget to thank in the comments section.