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

FAQ
It is currently Fri Jun 05, 2020 2:05 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: How to list outdated packages in FreeBSD
PostPosted: Mon Oct 17, 2011 8:35 am 
After you have updated your ports system and also it's index, you can check which packages have updates using "pkg_version" utility.

Fist, relevant "man pkg_version" info:
Quote:
PKG_VERSION(1) FreeBSD General Commands Manual PKG_VERSION(1)

NAME
pkg_version -- summarize installed versions of packages

SYNOPSIS
pkg_version [ -s string]

pkg_version -t version1 version2
pkg_version -T pkgname pattern

DESCRIPTION
The pkg_version command is used to produce a report of non-base software
packages ...

Read more : How to list outdated packages in FreeBSD | Views : 1806 | Replies : 0

Top
 Post subject: FreeBSD list files installed by a specific software package - "pkg_info -L"
PostPosted: Mon Oct 17, 2011 8:26 am 
How to list files installed by a specific package in FreeBSD using pkg_info.

Quote:
PKG_INFO(1) FreeBSD General Commands Manual PKG_INFO(1)

NAME
pkg_info -- a utility for displaying information on software packages

SYNOPSIS
pkg_info
-a | pkg-name ...
pkg_info -W filename
pkg_info -O origin
pkg_info
...
-L Show the files within each package. This is different from just
viewing the packing list, since full pathnames for everything are ...

Read more : FreeBSD list files installed by a specific software package - "pkg_info -L" | Views : 5956 | Replies : 0

Top
 Post subject: FeeBSD list installed software packages with pkg_info
PostPosted: Mon Oct 17, 2011 8:22 am 
FeeBSD list installed packages

How to list installed software packages in FreeBSD.

Quote:
PKG_INFO(1) FreeBSD General Commands Manual PKG_INFO(1)

NAME
pkg_info -- a utility for displaying information on software packages

SYNOPSIS
pkg_info
-a | pkg-name ...
pkg_info -W filename
pkg_info -O origin
pkg_info

DESCRIPTION
The pkg_info command is used to dump out information for packages, either
packed up in files with the pkg_create(1) command or already installed ...

Read more : FeeBSD list installed software packages with pkg_info | Views : 1241 | Replies : 0

Top
 Post subject: Can't compile ssldump on FreeBSD 6 - compile fails
PostPosted: Thu Mar 17, 2011 11:26 am 
When compiling ssldump on freebsd, the configure script uses stock bpf.h header file instead of the libpcap one.


===> Building for ssldump-0.9b3_4
cc -O2 -pipe -funroll-loops -fno-strict-aliasing -march=pentium4 -O2 -pipe -funroll-loops -fno-strict-aliasing -march=pentium4 -DHAVE_LIBM=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o pcap-snoop.o ./base/pcap-snoop.c -DOPENSSL -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/local/include
In file included from ./base/pcap-snoop.c:52:
/usr/include/net/bpf.h:63: error: redefinition of `struct bpf_program'
/usr/include/net/bpf.h:87: error: redefinition of `struct bpf_version'
/usr/include/net/bpf.h:596: error: ...

Read more : Can't compile ssldump on FreeBSD 6 - compile fails | Views : 1632 | Replies : 0

Top
 Post subject: "checking for libnet_build_ip in -lnet... no"+"ERROR! Libnet library not found"
PostPosted: Fri Sep 24, 2010 4:08 am 
It can happen that nemesis installation to fail because the configure script cannot find libnet. THis is not nemesis's fault, it's the admin's fault (mine and yours :D ).
Nemesis configure script error:
Quote:
checking for an ANSI C-conforming const... yes
checking for gawk... (cached) gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for fabs in -lm... yes
checking for ...

Read more : "checking for libnet_build_ip in -lnet... no"+"ERROR! Libnet library not found" | Views : 4234 | Replies : 1

Top
 Post subject: ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No
PostPosted: Fri Aug 27, 2010 7:10 am 
ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory

After installling ffmpeg on CentOS 4.8 the above error apears when running ffmpeg for the first time.
Code:
# ffmpeg
ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory

Running ldd utility shows that ffmpeg binary is dynamically linked to libraries which cannot be found:
# ldd `which ffmpeg`
libavdevice.so.52 => ...

Read more : ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No | Views : 42689 | Replies : 3

Top
 Post subject: FFMPEG svn 24953 compile fails videodev.h:56: error: expected specifier-qualifier-list before ‘ulong
PostPosted: Fri Aug 27, 2010 7:01 am 
I was trying to compile FFMPEG rev 24953 (27-08-2010) on CentOS 4.8 and following error occured:

[root@server ffmpeg]# make
CC libavdevice/alldevices.o
CC libavdevice/avdevice.o
CC libavdevice/dv1394.o
CC libavdevice/oss_audio.o
CC libavdevice/v4l.o
In file included from libavdevice/v4l.c:34:
/usr/include/linux/videodev.h:56: error: expected specifier-qualifier-list before ‘ulong’
libavdevice/v4l.c: In function ‘grab_read_header’:
libavdevice/v4l.c:136: error: ‘struct video_tuner’ has no member named ‘mode’
libavdevice/v4l.c:138: error: ‘struct video_tuner’ has no member named ‘mode’
libavdevice/v4l.c:140: error: ‘struct video_tuner’ has no member named ‘mode’
make: *** [libavdevice/v4l.o] Error ...

Read more : FFMPEG svn 24953 compile fails videodev.h:56: error: expected specifier-qualifier-list before ‘ulong | Views : 1552 | Replies : 0

Top
 Post subject: /usr/bin/ld: cannot find -lltdl PHP Compiling fails on Centos/Red Hat
PostPosted: Mon Feb 22, 2010 7:08 am 
Quote:
main/internal_functions.lo -lcrypt -lz -lcrypt -lpq -lmcrypt -lltdl -lcurl -lbz2 -lz -lm -ldl -lnsl -lxml2 -lz -lm -lcurl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lidn -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -o sapi/cgi/php-cgi
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: ...

Read more : /usr/bin/ld: cannot find -lltdl PHP Compiling fails on Centos/Red Hat | Views : 2490 | Replies : 0

Top
 Post subject: How to install apache22 on FreeBSD with proxy modules
PostPosted: Fri Feb 19, 2010 7:52 am 
How to install apache22 on FreeBSD with proxy modules


Quote:
cd /usr/ports/www/apache22
export WITH_PROXY_MODULES=1
make install

Read more : How to install apache22 on FreeBSD with proxy modules | Views : 2753 | Replies : 0

Top
 Post subject: Courier compile fails with "/usr/bin/ld: cannot find -lperl"
PostPosted: Wed Aug 12, 2009 6:37 pm 
I've tried to compile courier on a Debian system and it fails with lperl error:
$ make && make check
.............................
/bin/bash ./libtool --tag=CC --mode=link gcc -I./.. -I.. -I./../.. -I../.. -I./../../.. -I ../../.. -g -O2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -o perlfilter perlfilter.o ../libfilter/libfilter.a ../../../waitlib/libwaitlib.a ../../libs/libcommon.la ../../libs/libcourier.la -Wl,-E -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -lperl -ldl -lm -lpthread -lc -lcrypt
libtool: link: gcc -I./.. -I.. -I./../.. -I../.. -I./../../.. -I ../../.. -g -O2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN ...

Read more : Courier compile fails with "/usr/bin/ld: cannot find -lperl" | Views : 3381 | Replies : 2

Top
 [ Total topics 20 Go to page 1, 2


Last 10 active topics


Memory, Storage, Backup and Filesystems

No new posts FreeBSD: List disk drives and re-scan after adding hot-add disk (in virtual environments)
View the latest post

Routing and dynamic routing protocols

No new posts JUNOS BGP: How to drain a BGP peering router gracefully without bgp session reset
View the latest post

TP-Link JetStream Switching

No new posts TP-Link TL-SG3210 How to configure ARP Inspection, DHCP Snooping and ARP Scanning
View the latest post
No new posts TP-Link JetStream SG3210 V2.0 CLI, User Guide downloads
View the latest post

Apache, Nginx, Lighttpd and other web server software

No new posts NGINX: 413 Request Entity Too Large
View the latest post

System administration

No new posts MAC OS X: read image/jpeg EXIF information on command line
View the latest post

Shell Scripting and Programming

No new posts Shell scripting
View the latest post
No new posts AWK: How to replace a newline with actual \n
View the latest post
No new posts How to use $variable in conditional sentences?
View the latest post

Virtualization

No new posts SSH Login to Vmware ESXi with ssh keys
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