Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Wed Jun 28, 2017 2:27 pm


News News of Package and Software Management

Site map of Package and Software Management » Forum : Package and Software Management

FreeBSD ports and pkg, Linux rpm yum and apt, AIX lpp discussions

 [ Total topics 20 Go to page 1, 2

Message
 Post subject: PHP 5.6 & Debian - easy.h should be in <curl-dir>/include/curl/
PostPosted: Thu Jan 15, 2015 6:53 pm 
configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/

libcurl4-gnutls-dev package needs to be installed from debian repositories.

configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for cURL support... yes, shared
checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution ...

Read more : PHP 5.6 & Debian - easy.h should be in <curl-dir>/include/curl/ | Views : 2179 | Replies : 0

Top
 Post subject: PHP-FPM 5.6 from source \w Suhosin & xcache in Debian Linux
PostPosted: Wed Jan 14, 2015 8:44 am 
php-fpm is an alternative way of running php as fast cgi script, instead of, let's say, a module of apache.

Visit http://php-fpm.org/ for more information on php-fpm.

Xcache is a very powerful opcache engine (along with builtin opcache, APC and others). It brings significant boost to busy sites and where many php scripts are executed, the opcache engine compiles these scripts and stores them in ram memory, instead of compiling the scripts for every visitor. ...

Read more : PHP-FPM 5.6 from source \w Suhosin & xcache in Debian Linux | Views : 1013 | Replies : 0

Top
 Post subject: Debian: -bash: dig: command not found - Installing dig tool
PostPosted: Tue Jan 13, 2015 12:13 pm 
Minimal installation of Debian Linux does not provide some tools for network troubleshooting like dig, tcpdump, lsof (although netstat can easily be used instead of lsof). Dig is part of dnsutils package.

To install dig under Debian:

user@host:~# dig
-bash: dig: command not found
user@host:~# apt-get install dnsutils
Reading package lists... Done
Building dependency tree
...

user@host:~# dig

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, ...

Read more : Debian: -bash: dig: command not found - Installing dig tool | Views : 2843 | Replies : 0

Top
 Post subject: ipsec-tools: configure: error: OpenSSL version must be 0.9.8s or higher.
PostPosted: Tue Jan 06, 2015 4:13 pm 
configure: error: OpenSSL version must be 0.9.8s or higher. ipsec-tools compile error

The following compile error appears on Linux when ipsec-tools is compiled and libraries are missing.

Code:
checking for readline/readline.h... no
checking if --with-flex option is specified... dirdefault
checking if --with-flexlib option is specified... /usr/lib/libfl.a
checking if --with-openssl option is specified... /usr/local/
checking openssl version... too old
configure: error: OpenSSL version must be 0.9.8s or higher. Aborting.



Checking the file "config.log" shows ...

Read more : ipsec-tools: configure: error: OpenSSL version must be 0.9.8s or higher. | Views : 718 | Replies : 0

Top
 Post subject: ipsec-tools-0.8.2 with radius support from source on CentOS 6.5 32bit
PostPosted: Sun Dec 28, 2014 6:14 pm 
ipsec-tools-0.8.2 with radius support from source on CentOS 6.5 32bit

Installing the latest Ipsec-tools package from source on CentOS is not an easy task. After few attempts, I managed to get it

running on the 32bit version of Centos 6.5.

To avoid some of the ugly configure / make errors below, I will list all necessary steps needed for a base CentOS install:
Code:
configure: error: Broken getaddrinfo() is no longer supported. Aborting.

...

Read more : ipsec-tools-0.8.2 with radius support from source on CentOS 6.5 32bit | Views : 1128 | Replies : 0

Top
 Post subject: vlc-2.1.5 port fails to compile on FreeBSD 9.2
PostPosted: Sun Dec 28, 2014 5:32 pm 
vlc-2.1.5 port fails to compile on FreeBSD 9.2
The error is below:


1 warning generated.
mv -f .deps/strverscmp.Tpo .deps/strverscmp.Plo
../doltlibtool --tag=CC --mode=link /usr/local/bin/clang34 -O2 -pipe -O2 -pipe -march=nocona -fno-strict-aliasing -march=nocona -DLIBICONV_PLUG -fstack-protector -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -O4 -ffast-math -funroll-loops -fomit-frame-pointer -no-undefined -static -Wl,-rpath=/usr/lib:/usr/local/lib -fstack-protector -o libcompat.la -rpath /usr/local/lib/vlc dummy.lo dirfd.lo tdestroy.lo strverscmp.lo
libtool: link: ar cru .libs/libcompat.a .libs/dummy.o .libs/dirfd.o .libs/tdestroy.o .libs/strverscmp.o
libtool: link: ranlib .libs/libcompat.a
libtool: ...

Read more : vlc-2.1.5 port fails to compile on FreeBSD 9.2 | Views : 689 | Replies : 0

Top
 Post subject: FreeBSD error when compiling world "archive_hash.h:129:20: error: sha1.h: No such file or directory"
PostPosted: Tue May 28, 2013 5:41 am 
Obviously this is caused by my mistake of disabling openssl build (/etc/make.conf: WITHOUT_OPENSSL=TRUE) which causes above "sha1"/"sha2" compiling errors.

/libarchive/archive_write_set_format_mtree.c /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_write_set_format_pax.c /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_write_set_format_shar.c /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_write_set_format_ustar.c /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_write_set_format_zip.c /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/filter_fork.c
In file included from /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_read_support_format_xar.c:57:
/usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.h:129:20: error: sha1.h: No such file or directory
/usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.h:166:20: error: sha2.h: No such file or directory
In file included from /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_write_set_format_mtree.c:42:
/usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.h:129:20: error: sha1.h: No such file or directory
/usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.h:166:20: error: sha2.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop ...

Read more : FreeBSD error when compiling world "archive_hash.h:129:20: error: sha1.h: No such file or directory" | Views : 360 | Replies : 0

Top
 Post subject: ffmpeg error
PostPosted: Tue Nov 20, 2012 1:00 pm 
Hi there

i installed ffmpeg on a Redhat EL5 and when i run
it give me back the error

ffmpeg: relocation error: ffmpeg: symbol avcodec_configuration, version LIBAVCODEC_52 not defined in file libavcodec.so.52 with link time reference

someone knows how to fix it

thanks :)

Read more : ffmpeg error | Views : 489 | Replies : 0

Top
 Post subject: How to search for a specific port in FreeBSD
PostPosted: Mon Oct 17, 2011 8:52 am 
When you need to check if FreeBSD ports contain a specific software, one needs to either use "find /usr/ports" or make use of the "make" utility.

Searching for bash in FreeBSD ports:
# make -C /usr/ports/ search key=bash | grep -vE "B-deps|R-deps" | less
...
Port: tuntun-0.4.0_3
Path: /usr/ports/security/tuntun
Info: A Gnome applet gui for OpenVPN
Maint: anderson@cnpm.embrapa.br
WWW: http://code.google.com/p/tuntun/

Port: unssh-1.4
Path: /usr/ports/security/unssh
Info: Fast way to delete entries from OpenSSH known_hosts file
Maint: ...

Read more : How to search for a specific port in FreeBSD | Views : 403 | Replies : 0

Top
 Post subject: How to check which package a specific file belongs to in FreeBSD - "pkg_info -W"
PostPosted: Mon Oct 17, 2011 8:39 am 
Whenever you need to know what package installed a specific file in FreeBSD, "pkg_info" can be used.

Quote:
-W, --which filename
For the specified filename argument show which package it belongs
to. If the file is not in the current directory, and does not
have an absolute path, then the directories specified in the
environment variable PATH are searched using which(1).



This is how to list files installed by pixman package:
# pkg_info -L ...

Read more : How to check which package a specific file belongs to in FreeBSD - "pkg_info -W" | Views : 1287 | Replies : 0

Top
 [ Total topics 20 Go to page 1, 2


Last 10 active topics


Virtualization

No new posts SSH Login to Vmware ESXi with ssh keys
View the latest post
No new posts How to retrieve Vmware ESXi license from ssh shell command line
View the latest post

Shell Scripting and Programming

No new posts How to use $variable in conditional sentences?
View the latest post
No new posts Scan IP range using nmap
View the latest post
No new posts Password generator with user inputs bash script
View the latest post

TCP/IP Networking

No new posts TCP ack after two packets
View the latest post

Junos Tips & Tricks

No new posts MTR / My traceroute in Junos
View the latest post

VPS Hosting & Security

No new posts Host a gmod server on a vps or shared host?
View the latest post

Juniper virtual MX (vMX)

No new posts Juniper Virtual MX (vMX) 14.2R5.3 Phase 2 (RE and MPC on different VMs)
View the latest post

OpenLDAP - Lightweight Directory Access Protocol

No new posts cannot login in linux system with ldap user after changing the ldap user password
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 600 | Total topics 969 | Total members 1193



News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO