Ivorde Unix/Linux/Database/Web/Mail Forum

View unanswered posts
View active topics
It is currently Wed Feb 08, 2012 12:03 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 12 Go to page 1, 2

Message
 Post subject: How to search for a specific port in FreeBSD
PostPosted: Mon Oct 17, 2011 3:52 pm 
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 : 157 | 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 3:39 pm 
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 : 158 | Replies : 0

Top
 Post subject: How to list outdated packages in FreeBSD
PostPosted: Mon Oct 17, 2011 3:35 pm 
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 : 135 | Replies : 0

Top
 Post subject: FreeBSD list files installed by a specific software package - "pkg_info -L"
PostPosted: Mon Oct 17, 2011 3:26 pm 
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 : 150 | Replies : 0

Top
 Post subject: FeeBSD list installed software packages with pkg_info
PostPosted: Mon Oct 17, 2011 3:22 pm 
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 : 123 | Replies : 0

Top
 Post subject: Can't compile ssldump on FreeBSD 6 - compile fails
PostPosted: Thu Mar 17, 2011 6:26 pm 
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 : 431 | Replies : 0

Top
 Post subject: "checking for libnet_build_ip in -lnet... no"+"ERROR! Libnet library not found"
PostPosted: Fri Sep 24, 2010 11: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 : 1525 | 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 2:10 pm 
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 : 7408 | Replies : 0

Top
 Post subject: FFMPEG svn 24953 compile fails videodev.h:56: error: expected specifier-qualifier-list before ‘ulong
PostPosted: Fri Aug 27, 2010 2:01 pm 
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 : 992 | Replies : 0

Top
 Post subject: /usr/bin/ld: cannot find -lltdl PHP Compiling fails on Centos/Red Hat
PostPosted: Mon Feb 22, 2010 2:08 pm 
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 : 2062 | Replies : 0

Top
 [ Total topics 12 Go to page 1, 2


Last 10 active topics


Apache, Nginx, Lighttpd and other web server software

No new posts Nginx + php-fpm setting php upload_max_filesize and other php values per vhost
View the latest post

Mysql

No new posts Mysql> how to store select Zulu / UTC timestamp in database
View the latest post

TCP/IP Networking

No new posts Quagga ospf neighbour stuck in ExStart/DROther state
View the latest post

FTP, Scp, Sftp, Rsync

No new posts How to disable anonymous access in samba 3
View the latest post

Package and Software Management

No new posts "checking for libnet_build_ip in -lnet... no"+"ERROR! Libnet library not found"
View the latest post

Server and Network Security

No new posts CentOS Install Nemesis packet crafting tool + Libnet
View the latest post

Tutorials for general Unix

No new posts Using curl to get the HTTP response from an HTTP server
View the latest post
No new posts Linux - Unable to login (and authentication succeeds) - File size limit exceeded
View the latest post
No new posts Linux/FreeBSD how to check ntp time synchronization
View the latest post

Memory, Storage, Backup and Filesystems

No new posts Mdadm - Linux software RAID
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 188 | Total topics 681 | Total members 827



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 + 2 hours [ DST ]

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
DAJ Glass 2 template created by Dustin Baccetti

phpBB SEO