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

FAQ
It is currently Thu Dec 07, 2023 8:40 am


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 : 7595 | 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 : 2980 | 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 : 7234 | 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 : 2913 | 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 : 3419 | 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 : 2528 | 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 : 2264 | 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 : 2368 | 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 : 2299 | 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 : 3619 | Replies : 0

Top
 [ Total topics 20 Go to page 1, 2


Last 10 active topics


Tutorials for general Unix

No new posts use "Ctr-A Ctr-\ " combination to terminate SCREEN session
View the latest post

Juniper SRX

No new posts SRX300 - How to connect to serial console via USB port in MacOS
View the latest post

Shell Scripting and Programming

No new posts DD (Disk Dump) show write progress
View the latest post
No new posts BASH shell script to mointor a directory and move file without overwriting destination
View the latest post
No new posts FreeBSD: Install python package manager (pip)
View the latest post

Virtualization

No new posts Vmware ESXi: create custom named vmdk virtual disk [cli]
View the latest post
No new posts Vmware ESXi: vmkfstools: Extra arguments at the end of the command line.
View the latest post

OpenLDAP - Lightweight Directory Access Protocol

No new posts Synchronize OpenLDAP and Microsoft Active Directory
View the latest post

Routing and dynamic routing protocols

No new posts BGP Notification Message (3), length: 21, OPEN Message Error (2), subcode Authentication Failure
View the latest post

TCP/IP Networking

No new posts Problem pinging and using server with mobile hotspot
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 617 | Total topics 987 | Total members 1192



cronNews 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