Wednesday, June 8, 2011

PHP Install Problems with SNMP - Error: Sanity check failed

In my post here:

I mentioned that I keep getting error problems installing SNMP (--with-snmp) in PHP version 5.3.6:
error: SNMP sanity check failed.
and in config.log:
configure:88255: checking for init_snmp in -lsnmp
ld: fatal: library -lsnmp: not found
ld: fatal: library -lsnmp: not found

I finally figured out the problem which is a package that I cannot find before.
Basically this is the required package according to

So all I have to do is:
$> sudo apt-get install libsnmp
$> sudo apt-get install libsnmp-dev

The libsnmp-dev is the one I was missing!
Here again is my build:

./configure \
--prefix=/usr/local/lib/php5.3.6 \
--with-apxs2=/usr/bin/apxs2 \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-pear=/usr/local/lib/php5.3.6/lib/php \
--with-tidy \
--with-curl \
--with-curlwrappers \
--with-openssl-dir \
--with-xpm-dir \
--with-pdo-mysql \
--with-xsl \
--with-ldap \
--with-xmlrpc \
--with-iconv-dir \
--with-bz2 \
--with-mcrypt \
--with-jpeg-dir \
--with-png-dir \
--with-zlib-dir \
--with-freetype-dir \
--with-gd \
--with-snmp \
--enable-mbstring \
--enable-zip \
--enable-exif \


Anonymous said...

Hey! Would you mind if I share your blog with my facebook group?
There's a lot of folks that I think would really enjoy your content.
Please let me know. Many thanks

Check out my web blog; yonka skin care

Anonymous said...

Hi to all, because I am truly eager of reading this webpage's post
to be updated regularly. It carries fastidious stuff.

my website; difference between colic calm and tummy calm

Anonymous said...

All new broadband customers receive the Wireless Technicolor 582N Pro.
Actually, this router was initially designed for home purpose only and is
not for official purpose. Really don't neglect the issue
of the compatibility on the wireless router, Linksys or not, together with the pcs inside
the network.

Feel free to visit my web page; Virtual Router

Anonymous said...

Currently it looks like Expression Engine is the preferred blogging platform
available right now. (from what I've read) Is that
what you're using on your blog?

my blog; Clash of Clans Hack

Anonymous said...

Nice blog here! Also your website lots up very fast! What web
host are you the use of? Can I am getting your associate
hyperlink on your host? I wish my web site loaded up
as quickly as yours lol

Look into my homepage: User Profile,,

Unknown said...

Sergei , October 22, 1970 Born in Christian Louboutin Bois Dore Moscow State Ozherelye. Perhaps influenced by Cheap LV Handbags their parents worship warrior army, join the army in cheap jordans 1989, and into the elite airborne military service. 1991, by the influence of the Soviet Union, the uggs on sale Russian christian louboutin army general lack of funds, a large number ugg australia of Air Jordan 11 Gamma Blue soldiers seeking veterans, but under extremely difficult conditions still dedicated, praise superiors, and soon was sent to the famous christian louboutin shoes Ryazan Higher ugg Airborne Command School studies. After graduating in 1994, entered the famous Pskov 76th Guards Airborne discount christian louboutin Division, served as discount nike jordans the reconnaissance platoon, reconnaissance ugg soldes deputy company commander, company commander, battalion airborne regiment scouting director and other duties.From 2000 to Cheap Louis Vuitton Handbags 2004, where the forces have repeatedly ordered war with Chechen militants. Because of their opponents in order to form the squad activity and haunted impermanence, the Russians had to ugg boots mobilize elite troops set up large uggs outlet number of small units, "a Discount Louis Vuitton small wholesale jordan shoes play small" Implementation siege. commanding troops in Chechnya, Christian Louboutin Daffodile Ingushetia and other places over the mountains, to track the militants fled. Discount LV Handbags Although the militants were extremely vigilant, but as long as the task has never had outsmarted.August 8, 2008, Georgia suddenly invade South Ossetia (Russian peacekeepers stationed ugg pas cher there), the Russian military to respond quickly, including including the 76th Guards Airborne Division, more than christian louboutin remise 50% 3,000 people were immediately delivered to the pro-Russian Abkhazia, Georgia cheap nike jordan shoes Army contain two infantry brigades, effectively coordinate the cheap christian louboutin direction of the Russian Bags Louis Vuitton troops in South Ossetia.

Unknown said...

blake griffin jersey
nike trainers,nike trainers uk,cheap nike trainers,nike shoes uk,cheap nike shoes uk
soccer jerseys
rolex watches,swiss watch,replica watches,rolex watches for sale,replica watches uk,rolex watches replica,rolex watches for sales
moncler jackets
canada goose outlet
nike outlet store
mulberry handbags
raiders jerseys
cheap nhl jerseys
nhl jerseys
nike huarache
peyton manning jersey,eric decker jersey,aqib talib jersey,emmanuel sanders jersey,shannon sharpe jersey,louis vasquez jersey
san francisco 49ers jerseys
nike running shoes
true religion jeans
nike running shoes
north face outlet store
tim tebow jersey,julian edelman jersey,darrelle revis jersey,vince wilfork jersey,tom brady jersey,rob gronkowski jersey,deion branch jersey,jerod mayo jersey,danny woodhead jersey
lebron james shoes,lebron 12,lebron 12 shoes,lebron sneakers,lebron iv,lebron 11,lebron 10
dan marino jersey,louis delmas jersey,brent grimes jersey,cameron wake jersey,mike wallace jersey,dan marino jersey,cameron wake jersey
chelsea football shirts
chicago bears jerseys
air max 2014
hermes outlet store
barcelona jersey
burberry sale
cheap oakley sunglasses
spurs jersey
air jordan shoes
miami heat jersey
coach outlet store
soccer shoes
nike trainers uk
baltimore ravens jerseys

karina pitaloka said...

Bio Energizer Card alat kesehatan yang multi fungsi
parfum yang mengandung pheromone
pheromone murah
pheromone perfume
pheromone empowers
parfum pheromone terbaik
jual pheromone asli
fungsi pheromone
parfume original
parfume terlaris
parfume film
parfume asli
parfume wanita paling laris
parfume pria
grosir parfume
parfume ariel

Unknown said...

2015-09-16 zhengjx
Ralph Lauren UK Sale Polo Shirts
Christian Louboutin Outlet For Women
ugg boots
Louis Vuitton Outlet Authentic Handbags Discount
michael kors handbags
Louis Vuitton Handbags Outlet On Sale
Louis Vuitton Outlet Purses and Handbags For Sale
canada goose
hermes birkin
New Jordans Cheap For Sale
Abercrombie & Fitch Clothing With Big Discount
Coach Factory Outlet Handbags 70% OFF
Lebron 12,11,10 Shoes For Sale
cheap uggs sale
Michael Kors Outlet Online Sale Free Shipping
Louis Vuitton Handbags Outlet Sale
Air Jordan 4 Retro Free Shipping
coach outlet store online
Louis Vuitton Handbags Outlet Stores Online
Ray Ban Sunglasses Outlet Store Online
ugg boots
michael kors handbag
michael kors outlet
Abercrombie And Fitch New York Clothing Warehouse
ralph lauren uk
Cheap Oakley Sunglasses Outlet With Discount
tory burch outlet
nike air max
Coach Outlet Store Online Free Shipping
Michael Kors Outlet USA Store

Unknown said...

louis vuitton handbags,
hermes birkin,
mbt shoes,
swarovski outlet,
ray ban,
nfl jerseys wholesale,
nba jerseys,
longchamp handbags,
cheap nhl jerseys,
cheap mlb jerseys,
north face jackets,
cheap snapbacks,
adidas wings,
basketball shoes,
lebron james shoes,
lacoste polo shirts,
vans shoes,
ugg boots,
hermes belt,

Unknown said...

ray ban sunglasses,
nike trainers,
gucci handbags,
herve leger,
timberland boots,
coach outlet online,
michael kors outlet,
juicy couture outlet,
calvin klein underwear,
ray ban sunglasses,
prada outlet,
lululemon outlet,
tory burch shoes,
michael kors outlet,
replica watches,
pandora jewelry,
nfl jerseys wholesale,
michael kors outlet,
oakley outlet,
oakley sunglasses,
michael kors bags,
ray ban sunglasses,
oakley sunglasses,
air max 2015,
the north face uk,
swarovski outlet,
pandora jewelry,
chanel handbags,

oakleyses said...

tory burch outlet, longchamp outlet, burberry, ray ban sunglasses, tiffany and co, nike outlet, replica watches, louis vuitton, ray ban sunglasses, nike air max, jordan shoes, polo ralph lauren outlet, michael kors outlet, tiffany jewelry, michael kors outlet, christian louboutin outlet, burberry outlet online, michael kors outlet, michael kors, oakley sunglasses, longchamp, prada outlet, prada handbags, cheap oakley sunglasses, oakley sunglasses, oakley sunglasses, ugg boots, louboutin shoes, michael kors outlet, ugg boots, polo ralph lauren outlet, louis vuitton outlet, nike free, chanel handbags, louboutin outlet, louis vuitton outlet, oakley sunglasses, ugg boots, replica watches, michael kors outlet, kate spade outlet, uggs on sale, nike air max, louboutin, louis vuitton, louis vuitton

oakleyses said...

air jordan pas cher, ray ban uk, nike roshe, true religion jeans, air force, abercrombie and fitch, north face, new balance pas cher, sac longchamp, longchamp pas cher, mulberry, oakley pas cher, nike free run uk, coach outlet, nike blazer, hermes, michael kors, nike air max, air max, hollister pas cher, true religion jeans, ralph lauren pas cher, vans pas cher, michael kors, coach outlet, true religion jeans, hollister, michael kors, north face, nike air max, nike roshe run, coach purses, burberry, lululemon, michael kors, lacoste pas cher, hogan, tn pas cher, sac guess, replica handbags, louboutin pas cher, vanessa bruno, timberland, kate spade handbags, converse pas cher, ralph lauren uk, nike free

xumeiqing said...

louis vuitton outlet
coach factory outlet
ed hardy
louboutin shoes
ray ban sunglasses
red bottoms shoes
coach factory outlet
polo ralph lauren outlet
ugg outlet

Unknown said...

coach outlet
cheap oakley sunglasses
rolex watches
nike foamposite
ray ban sunglasses
longchamp handbags
cartier watches for sale
ferragamo shoes
coach outlet

raybanoutlet001 said...

sac longchamp
michael kors handbags
jordan shoes
michael kors handbags
los angeles lakers
moncler outlet
chaussure louboutin pas cher
arizona cardinals jerseys
omega watches for sale

Unknown said...

michael kors handbags clearance
nike free
ghd hair straighteners
michael kors handbags wholesale
true religion jeans
nike trainers
ed hardy outlet
san antonio spurs
salvatore ferragamo
michael kors handbags sale